ID: 28150 User updated by: thomas+php at stromberg dot org Reported By: thomas+php at stromberg dot org Status: Wont fix Bug Type: Compile Failure Operating System: SUSE Linux 9.0 AMD64 PHP Version: 5CVS-2004-04-26 (dev) New Comment:
The problem in this situation is there is no way to tell configure to see this directory. configure only allows you to specify the root directory of mysql, which in my case is /usr. There is no option in the PHP5 configure script to set something like --with-mysql-library=/usr/ lib64. Previous Comments: ------------------------------------------------------------------------ [2004-04-26 20:30:15] [EMAIL PROTECTED] We only look for old fashion standard directories. Please specify the location manually on the configure line. ------------------------------------------------------------------------ [2004-04-26 04:20:06] thomas+php at stromberg dot org Description: ------------ The configure script has it hardcoded to search in lib/ or lib/mysql/ for the libmysqlclient library. At least in SUSE Linux 9.0 64-bit, you must add lib64/ to this search path so that it runs correctly. Here is a patch to configure, though I guess you guys need to patch the script that generates configure: --- configure~ 2004-04-25 21:13:43.000000000 -0500 +++ configure 2004-04-25 21:13:43.000000000 -0500 @@ -53844,7 +53844,7 @@ Note that the MySQL client library is not bundled anymore." 1>&2; exit 1; } fi - for i in lib lib/mysql; do + for i in lib lib64 lib64/mysql lib/mysql; do str="$MYSQL_DIR/$i/libmysqlclient.*" for j in `echo $str`; do Reproduce code: --------------- ./configure --with-apxs2=/usr/sbin/apxs2 --with-mysql Expected result: ---------------- It should configure ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=28150&edit=1