On Thu, May 03, 2001 at 08:01:11AM -0400, Marc Bragg wrote:
> Hi:
> 
> Installed redhat 7.0 and had multiple mysql problems, but php4 from the
> disc seemed fine. Updated mysql to 3.23.37, now it works fine, but "php"
> gives me:
> 
> PHP Warning: Unable to load dynamic library '/usr/lib/php4/mysql.so' -
> libmysqlclient.so.9: cannot open shared object file: No such file or
> directory in Unknown on line 0
> 
> the file mysql.so is present in the php4 directory?
> 
> Any ideas what I need to do?

You need to add the directory where libmysqlclient.so.9 lives to the
list of directories that ldconfig searches and hashes on startup.
I think on RedHat it's kept in /etc/ld.so.conf or something..
Look for a file in /etc with a name containing 'ld'; the file should
be a plaintext list of directories.  Add /usr/local/lib/mysql in there,
then either reboot, or manually do 'ldconfig /usr/local/lib/mysql'
to make it also scan and index the MySQL libraries' directory.

G'luck,
Peter

-- 
This sentence contains exactly threee erors.

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to