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!

linux, 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

 
Only a wild guess.
Have you checked your path?
echo $PATH

or type
which libmysqlclient.so.10


Possibly the bin or lib directories need to be
added to your PATH variable?

export PATH=$PATH:/new/bin/dir:/new/lib/dir

Robert Robert G. Jordan
Unix Sys Admin
Sleepy Hollow, Illinois U.S.A.
sh.gif


FREE Unix Scripts
 
It was not in the path. I entered it into the path and I still get the same message when trying to install php-mysql-4.1.2-7.

"libmysqlclient.so.10 is needed by php-mysql-4.1.2-7".

Rninja

smlogo.gif

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top