php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5488 libphp4.so unable to find libmysqlclient.so.6
Submitted: 2000-07-10 01:14 UTC Modified: 2000-07-27 21:48 UTC
From: nsfmc at yahoo dot com Assigned:
Status: Closed Package: MySQL related
PHP Version: 4.0.1pl2 OS: RedHat Linux 6.2 (Zoot)
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: nsfmc at yahoo dot com
New email:
PHP Version: OS:

 

 [2000-07-10 01:14 UTC] nsfmc at yahoo dot com
I installed mysql in /usr/local/mysql/
EVERYTHING went well in the ./configure and the make and make install.  No errors to be found, however, when i restart apache i get the following error:

Cannot load /usr/local/apache/libexec/libphp4.so into server: libmysqlclient.so.6: cannot open shared object file: No such file or directory

What i would like to know is, WHERE is libphp4.so looking for libmysqlclient if i configured php with
--with-mysql=/usr/local/mysql

But, if i configure php with
--with-mysql
WITHOUT a directory, everything works just fine.  Should i be worried or as John Romero would say, just Suck It Down (curiously, not trademarked i think).

--nsfmc

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-27 21:48 UTC] zak@php.net
Rasmus just covered this on the install mailing list:

"This is basic Linux system administration.  When you add a shared library to your system in a non-standard location you have to add that location to your /etc/ld.so.conf file and run ldconfig."

-Rasmus
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Jun 25 18:00:02 2026 UTC