ID: 41231 Updated by: [EMAIL PROTECTED] Reported By: hillct-php-bugreport at cthill dot org -Status: Open +Status: Bogus Bug Type: Compile Failure Operating System: Lunux (fc4-fc6) x86_64 PHP Version: 5CVS-2007-04-29 (snap) New Comment:
You should be using --with-libdir=lib64 in your configure line. No bug here. Previous Comments: ------------------------------------------------------------------------ [2007-04-29 21:40:58] hillct-php-bugreport at cthill dot org Description: ------------ The configure script fails to search for the mysql libraries in the proper location for some (Fedora) x86_64 environments. There is no way to override this behavior on the configure command line. This error is 100% reproducible in FC4 - FC6 on x86_64 hardware. The solution is a one line fix in the configure script. More properly it should probably be applied to whatever m4 macro is used to construct the script, but that doesn't seem to be available in the snapshot. The patch that corrects this bug is available here: http://www.pastebin.ca/465020 Reproduce code: --------------- configure --with-zlib --with-mysql --enable-mbstring --enable-fastcgi and --enable-discard-path --no-create --no-recursion Expected result: ---------------- checking for MySQL support... yes checking for specified location of the MySQL UNIX socket... no checking for MySQL UNIX socket location... /var/lib/mysql/mysql.sock checking for mysql_close in -lmysqlclient... yes This result is achieved by applying the patch located here: http://www.pastebin.ca/465020 Actual result: -------------- checking for specified location of the MySQL UNIX socket... no checking for MySQL UNIX socket location... /var/lib/mysql/mysql.sock configure: error: Cannot find libmysqlclient under /usr. Note that the MySQL client library is not bundled anymore! ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=41231&edit=1