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 and php problem . 1

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

 
its not seeing a certin library thats required to run. Execute &quot;find / -name libgcc_s.so*&quot; (without quotes) to find any version of that library on your system, if you find libgcc_s.so.1 symbolicly link it to /usr/lib/php4/libgcc_s.so.1 with the command ln -s <library path> /usr/lib/php4/libgcc_s.so.1

Also if you have not run 'ldconfig' any new libraries that are created arent seen by the os. hope this helps

 
Thanks gridmark. I was missing that package. I installed it and everything works beautifully.

Thanks again for your knowledgeable response! Rninja

smlogo.gif

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top