php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9492 libmysqlclient.so.6 not found
Submitted: 2001-02-28 01:14 UTC Modified: 2001-03-01 17:20 UTC
From: loosecannon at 411 dot com Assigned:
Status: Not a bug Package: Installation problem
PHP Version: 4.0.4pl1 OS: Soalris 2.6
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: loosecannon at 411 dot com
New email:
PHP Version: OS:

 

 [2001-02-28 01:14 UTC] loosecannon at 411 dot com
Compiling PHP4 as an Apache DSO module with the following:

./configure --with-apxs=/www/server/apache/bin/apxs --with-yaz=/www/src/yaz-1.6 --with-mysql=/www/mysql --with-sybase=/usr/local/sybase/client --with-xml --enable-ftp --with-gd=/www/src/gd1.2 --disable-pear --with-dbase --enable-libgcc

No complaints through the configure, make or make install process but when I go to test Apache with the new AddModule & LoadModule statments added to httpd.conf, I get:

Wed12:03:11am|/www/server/apache/libexec>../bin/apachectl configtest
Syntax error on line 234 of /www/server/apache/conf/httpd.conf:
Cannot load /www/server/apache/libexec/libphp4.so into server: ld.so.1: /www/server/apache
/bin/httpd: fatal: libmysqlclient.so.6: open failed: No such file or directory

I've seen mention in the other bug reports that on Linux systems you can change the ld configuration. Any suggestions for a Solaris environment??

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-01 17:20 UTC] sniper@php.net
# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/www/mysql/lib/mysql/
(that's where my mysql libs are, change it to where yours are)

before starting apache.

It's the similar thing as in Linux is the 'ldconfig' command.

--Jan

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jan 02 12:01:29 2025 UTC