From: nathan at officelink dot net dot au Operating system: FreeBSD 6.1-RELEASE-p10 PHP version: 5.2.0 PHP Bug Type: Compile Failure Bug description: PHP 5.2.0 will not compiled with MySQL support
Description: ------------ Unable to get PHP 5.2.0 to compile with MySQL support. PHP versions prior to this work perfectly with an identical ./configure line. Reproduce code: --------------- ./configure --with-apxs2=/usr/local/apache/bin/apxs --enable-ftp --enable-magic-quotes --enable-track-vars --enable-sockets --with-gettext --with-gd --with-zlib-dir=/usr/local --with-freetype-dir=/usr/local --enable-soap --with-mysqli=/usr/local/mysql/bin/mysql_config --with-xmlrpc --with-imap=/usr/local/src/imap-2004g --enable-mbstring=all --with-mime-magic=/usr/share/misc/magic.mime --with-mcrypt --with-iconv --enable-mbregex --enable-mime-magic --with-openssl=/usr/local/ssl --with-imap-ssl --with-mysql=/usr/local/mysql on PHP 5.2.0 I get: checking for MySQL support... yes checking for specified location of the MySQL UNIX socket... no checking for MySQL UNIX socket location... no configure: error: Cannot find libmysqlclient_r under /usr/local/mysql. Note that the MySQL client library is not bundled anymore! MySQL version is mysql Ver 14.12 Distrib 5.0.27, for unknown-freebsd6.1 (i386) using EditLine wrapper compiled from source with ./configure --prefix=/usr/local/mysql --without-debug Expected result: ---------------- on PHP 5.1.6 I get: checking for MySQL support... yes checking for specified location of the MySQL UNIX socket... no checking for MySQL UNIX socket location... no checking for mysql_close in -lmysqlclient... yes checking for MySQLi support... yes checking whether to enable embedded MySQLi support... no checking for mysql_set_server_option in -lmysqlclient... yes checking for mysql_stmt_field_count in -lmysqlclient... yes -- Edit bug report at http://bugs.php.net/?id=39369&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39369&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39369&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39369&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=39369&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=39369&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=39369&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=39369&r=needscript Try newer version: http://bugs.php.net/fix.php?id=39369&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=39369&r=support Expected behavior: http://bugs.php.net/fix.php?id=39369&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=39369&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=39369&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=39369&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39369&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=39369&r=dst IIS Stability: http://bugs.php.net/fix.php?id=39369&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=39369&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=39369&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=39369&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=39369&r=mysqlcfg