From: mikko dot kayhko at gmail dot com Operating system: Fedora Core 3 PHP version: 5.2.1 PHP Bug Type: Compile Failure Bug description: MySQL Undefined references
Description: ------------ PHP 5.2.1. ./configure parameters: --with-apxs2=/usr/local/apache/bin/apxs --with-mysql --with-config-file-path=/usr/local/apache/php --with-ldapÂ’ While performing "make", the following error message appears and stops doing whatever it did: .. ext/mysql/.libs/php_mysql.o(.text+0x232d): In function `zif_mysql_create_db': /tmp/php-5.2.1/ext/mysql/php_mysql.c:1164: undefined reference to `mysql_create_db' ext/mysql/.libs/php_mysql.o(.text+0x2548): In function `zif_mysql_drop_db': /tmp/php-5.2.1/ext/mysql/php_mysql.c:1203: undefined reference to `mysql_drop_db' collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 Expected result: ---------------- Successful build. Actual result: -------------- See description. -- Edit bug report at http://bugs.php.net/?id=40540&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=40540&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=40540&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=40540&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=40540&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=40540&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=40540&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=40540&r=needscript Try newer version: http://bugs.php.net/fix.php?id=40540&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=40540&r=support Expected behavior: http://bugs.php.net/fix.php?id=40540&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=40540&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=40540&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=40540&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=40540&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=40540&r=dst IIS Stability: http://bugs.php.net/fix.php?id=40540&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=40540&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=40540&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=40540&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=40540&r=mysqlcfg