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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Mon May 20 20:01:32 2024 UTC