#39943 [Opn->Bgs]: Configure scripts not detecting mysqlclient properly on 64bit
| From: | edink@php.net | Date: | Mon, 25 Dec 2006 02:54:50 +0000 |
| Subject: | #39943 [Opn->Bgs]: Configure scripts not detecting mysqlclient properly on 64bit | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-106846@lists.php.net to get a copy of this message | ||
ID: 39943
Updated by: edink@php.net
Reported By: xachen at mac dot com
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: CentOS 4.4 - x86_64
PHP Version: 5.2.0
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2006-12-24 20:49:36] judas dot iscariote at gmail dot com
Bogus ;)
Use the --with-libdir=lib64 configure flag.
------------------------------------------------------------------------
[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