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

php and 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

 
compile apache without direct paths. ***************************************
Party on, dudes!
[cannon]
 
I didn't. This doesn't have anything to do with apache, other than the php module crashes. It needs libmysqlclient.so.10, but it doesn't see that it exists, despite the ld.so.conf and ldconfig and export $PATH.

Do you know how I can get it to recognize it? Rninja

smlogo.gif

 
Did you use the up2date command under redhat? if so check for new config files with a .rpmnew extension. ***************************************
Party on, dudes!
[cannon]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top