php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #39943 Configure scripts not detecting mysqlclient properly on 64bit
Submitted: 2006-12-24 20:17 UTC Modified: 2006-12-25 02:54 UTC
From: xachen at mac dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.2.0 OS: CentOS 4.4 - x86_64
Private report: No CVE-ID: None
 [2006-12-24 20:17 UTC] 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-12-24 20:49 UTC] judas dot iscariote at gmail dot com
Bogus ;)

Use the --with-libdir=lib64 configure flag.
 [2006-12-25 02:54 UTC] edink@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 19:01:29 2024 UTC