#28150 [Opn->WFx]: configure in 5.0-RC2 does not look for mysqlclient in lib64
| From: | helly@php.net | Date: | Mon, 26 Apr 2004 18:30:17 +0000 |
| Subject: | #28150 [Opn->WFx]: configure in 5.0-RC2 does not look for mysqlclient in lib64 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-58812@lists.php.net to get a copy of this message | ||
ID: 28150
Updated by: helly@php.net
Reported By: thomas+php at stromberg dot org
-Status: Open
+Status: Wont fix
Bug Type: Compile Failure
Operating System: SUSE Linux 9.0 AMD64
PHP Version: 5CVS-2004-04-26 (dev)
New Comment:
We only look for old fashion standard directories. Please specify the
location manually on the configure line.
Previous Comments:
------------------------------------------------------------------------
[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