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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

linux php/mysql problem

Status
Not open for further replies.

rninja

Technical User
Apr 11, 2001
381
US
I have installed apache, php, and mysql. For some reason when I try to install the php-mysql package for redhat, I get "libmysqlclient.so.10 is needed by php-mysql-4.1.2-7". The funny thing is that libmysqlclient.so.10 does exist in /usr/lib. I have even tried to make links in all lib dirs. Still gives me this message.

I did edit /etc/ld.so.conf to check against /usr/lib along with the default lib dirs. Still get the same message from rpm.

What should I do? This is giving me segmentation faults when running php scripts that connect to mysql.

Thanks everyon for any help with this! Rninja

smlogo.gif

 
How did you link the directories? Try using ldconfig. This is a dynamic linker and will link all your shared object libraries and that is what seems to be missing. To use it, just type "ldconfig -v " and you should see all the missing libraries being linked.
 
I have done this many times. Funny thing is that no matter how I do it, It doesn't recognize the libmysqlclient.so.10. But it does recognize libmysql.so.11. But the package I need to install requires libmysqlclient.so.10. So I made a link to libmysqlclient.so.11.0.0, to no avail. Rninja

smlogo.gif

 
If your still having problems think about removing it and starting again.

Ok so maybe you don't run Cobalt RAQ but take a look at the following link for some real good help


Tarn.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top