#39943 [Com]: Configure scripts not detecting mysqlclient properly on 64bit
| From: | judas dot iscariote at gmail dot com | Date: | Sun, 24 Dec 2006 20:49:36 +0000 |
| Subject: | #39943 [Com]: Configure scripts not detecting mysqlclient properly on 64bit | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-106845@lists.php.net to get a copy of this message | ||
ID: 39943
Comment by: judas dot iscariote at gmail dot com
Reported By: xachen at mac dot com
Status: Open
Bug Type: Compile Failure
Operating System: CentOS 4.4 - x86_64
PHP Version: 5.2.0
New Comment:
Bogus ;)
Use the --with-libdir=lib64 configure flag.
Previous Comments:
------------------------------------------------------------------------
[2006-12-24 20:17:15] xachen at mac dot com
Description:
------------
When you go to ./configure your installation to work with MySQL and you
have the libraries installed under /usr/lib64, as well as the
appropriate ldconfig is provided and in place, PHP will still not
detect it.
This is fixable by going ln -s /usr/lib64/mysql /usr/lib
Reproduce code:
---------------
./configure --enable-fastcgi --with-mysql
Expected result:
----------------
For MySQL to compile properly.
Actual 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
configure: error: Cannot find libmysqlclient under /usr.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=39943&edit=1