ID: 40540 Updated by: [EMAIL PROTECTED] Reported By: mikko dot kayhko at gmail dot com -Status: Open +Status: Feedback Bug Type: Compile Failure Operating System: Fedora Core 3 PHP Version: 5.2.1 New Comment:
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. Previous Comments: ------------------------------------------------------------------------ [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