Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mysql.so for php and mysql interactivity problem

Status
Not open for further replies.

rninja

Technical User
Apr 11, 2001
381
US
I have set up apache 1.3.24 with openssl and mod_ssl. I also have mysql and php4 installed. I am trying to get the php to talk to the mysql server and the page to be displayed in apache.
The problem I have now is that I get this message in my error logs and on apachectl start, "PHP Warning: Unable to load dynamic library '/usr/lib/php4/mysql.so' - libgcc_s.so.1: cannot open shared object file: No such file or directory in Unknown on line 0"

I don't know what I need to do at this point. I have the httpd.conf settings straight, the mysql is all set up with the database, but all I get are blank php pages.
The phpinfo(); test works, but not between php and mysql.

Any help is appreciated! thanks!
Rninja

smlogo.gif

 
/usr/lib/php4/mysql.so misses library libgcc_s.so.1,

most likely you will need to specify a directory of libgcc_s.so.1 in /etc/ld.so.conf
 
I've got to give you a hand! Thanks. That solved my problem. I didn't have the libgcc shared package installed. No I installed the rpm and it's golden.

Cheers Gheist! Rninja

smlogo.gif

 
ldd +module+.so
will show its required libraries without crashing whole app
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top