ID: 40540 Updated by: [EMAIL PROTECTED] Reported By: mikko dot kayhko at gmail dot com -Status: Closed +Status: Bogus Bug Type: Compile Failure Operating System: Fedora Core 3 PHP Version: 5.2.1
Previous Comments: ------------------------------------------------------------------------ [2007-02-20 10:58:21] mikko dot kayhko at gmail dot com Seems that the problem was because of old MySQL headers. Sorry for the inconvenience! ------------------------------------------------------------------------ [2007-02-19 12:35:52] [EMAIL PROTECTED] I can't see any problems building PHP with MySQL 5.0.27 from RPMs. Did you build MySQL yourself or did you use some binary packages? It looks like you're using new libraries, but headers are from MySQL v.4.x.x. Please make sure you've installed new headers and removed the old ones. ------------------------------------------------------------------------ [2007-02-19 11:02:24] mikko dot kayhko at gmail dot com MySQL server community edition 5.0.27. ------------------------------------------------------------------------ [2007-02-19 10:22:02] [EMAIL PROTECTED] Can't reproduce. Which version of MySQL are you using? ------------------------------------------------------------------------ [2007-02-19 10:06:02] mikko dot kayhko at gmail dot com 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 this bug report at http://bugs.php.net/?id=40540&edit=1