NehaVerma 0 Posted December 27, 2003 Hi, I have been trying to install the MySql package on RH9.0 but have been unsuccessful so far. I need to use both php and Mysql for PostNuke I get the following error. [tools@localhost coe_downloads]$ rpm -ivh php-mysql-4.2.2-17.i386.rpm warning: php-mysql-4.2.2-17.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e error: Failed dependencies: libmysqlclient.so.10 is needed by php-mysql-4.2.2-17 Then on downloading and installing the following packages I get the following error [tools@localhost coe_downloads]$ rpm -ivh mysql-4.0.17 mod_auth_mysql-1.11-10 MySql-server-4.0 php-mysql-4.2.2-8.05 libdbi-dbd-mysql-0.6.5-2 mysql-devel-4.0 MySql-python-0.9.1-4 perl-DBD-MySql-2.1017-3 qt-MySQL-3.0.5-17 I get the following error: mx is needed by MySQL-python-0.9.1-4 libmysqlclient.so.10 is needed by MySQL-python-0.9.1-4 libdbi = 0.6.5-2 is needed by libdbi-dbd-mysql-0.6.5-2 libmysqlclient.so.10 is needed by libdbi-dbd-mysql-0.6.5-2 libmysqlclient.so.10 is needed by mod_auth_mysql-1.11-10 qt = 1:3.0.5-17 is needed by qt-MySQL-3.0.5-17 libmysqlclient.so.10 is needed by qt-MySQL-3.0.5-17 libmysqlclient.so.10 is needed by perl-DBD-MySQL-2.1017-3 libmysqlclient.so.10 is needed by php-mysql-4.2.2-17 I am pretty new to linux so is there some version compatibilty problem? Share this post Link to post
blueworm 0 Posted January 1, 2004 Ok it is clear that what you need is libmysqlclient.so.10 do this Code: updatedblocate libmysqlclient.so If your version is older install a newer version, if your version is newer do this. Code: ln -s ../libmsqlclient.so.X ../libmysqlclient.so.10 What the ../ means is the PATH. and what you are doing is creating a sym link. Share this post Link to post
nisha_s 0 Posted January 6, 2004 hi, if you don't have libmysqlclient.so, you can download it from http//www.hklpg.org/RPM/sourceforge/mysql/MySQL-shared-3.23.51-1.i386.html Share this post Link to post
Dapper Dan 0 Posted January 6, 2004 You could install apt-get rpm to get those packages installed if all else fails. As an experiment I just downloaded and installed both on my RH 9 box in less than 2 minutes... Share this post Link to post
hcq 0 Posted January 8, 2004 hi, i am also in trouble up[censored] mysql on RH9.0. Currently i use > rpm -q mysql-server mysql-server-3.23.58-1.9 I tried to rpm -Uvh MySQL-server-4.0.17-0.i386.rpm and got also the message libmysqlclient.so.10 is needed by (installed) perl-DBD-MySQL-2.1021-3 libmysqlclient.so.10 does exist > locate libmysqlclient.so.10 /usr/lib/mysql/libmysqlclient.so.10.0.0 /usr/lib/mysql/libmysqlclient.so.10 Should i "tell" rpm -Uvh where to find libmysqlclient. Btw why ...mysqlclient ? Should i install mysql-client also? Thank you very much for your help \hcq Share this post Link to post
ariase 0 Posted January 12, 2004 Quote: hi, i am also in trouble up[censored] mysql on RH9.0. Currently i use: > rpm -q mysql-server mysql-server-3.23.58-1.9 I tried to rpm -Uvh MySQL-server-4.0.17-0.i386.rpm and got also the message: libmysqlclient.so.10 is needed by (installed) perl-DBD-MySQL-2.1021-3 libmysqlclient.so.10 does exist: > locate libmysqlclient.so.10 /usr/lib/mysql/libmysqlclient.so.10.0.0 /usr/lib/mysql/libmysqlclient.so.10 Should i "tell" rpm -Uvh where to find libmysqlclient. Btw why ...mysqlclient ? Should i install mysql-client also? Thank you very much for your help \hcq Hi, I have exactly the same problem as yours. Since PHP did not make the link with MySQL, I checked what was wrong. Probably PHP should be re-compiled. I have PHP as RPMs. So I first uninstalled the php-mysql RPM, which was done without any problem. But then there is no way to install back that RPM : > rpm -i php-mysql-4.2.2-8.0.5.i386.rpm error: Failed dependencies: libmysqlclient.so.10 is needed by php-mysql-4.2.2-8.0.5 And as for you I have : > locate libmysqlclient.so /usr/lib/mysql/libmysqlclient.so.10.0.0 /usr/lib/mysql/libmysqlclient.so.10 But in fact I have no such file in that directory. > ls /usr/lib/mysql libdbug.a libInnoDB.a libmysqlclient.la libmystrings.a libvio.a libheap.a libInnoDBmrg.a libmysqlclient_r.a libmysys.a mysqld.sym libmerge.a libmysqlclient.a libmysqlclient_r.la libnisam.a So I'm gonna try downloading the libmysqlclient.so.10 file and adding it here. Regards, Laurent Share this post Link to post
weeb 0 Posted February 11, 2004 dunno about dependencies but this page helped me out a hell of a lot... http://www.brtnet.org/linux/lamp.htm the only thing I did differently is install the latest mysql client & server rpms instead of compiling my own. http://www.mysql.com deffinately worth a try, plus you feel all warm inside when it works! Share this post Link to post
jhparizona 0 Posted February 26, 2004 I was able to install the client but the server does not install. Complains about libmysqlclient.so.10. This file exists and I tried co-locating with the install RPM but still doesn't work. Any suggestions? OK - I worked it out - if maybe in a contorted method. The box had MySQL client 3.x installed. I installed the 4.0 client with the --force option. The 4.0 server would not install prior to or after installing the 4.0 client. No server had been installed during initial setup. I forced an install of the 3.x server then forced the install of 4.0 server and then forced the 4.0 client to install again. Now both the client and server work - go figure. Share this post Link to post
merlsub 0 Posted March 15, 2004 I had the same problem with rpm -ivh php-mysql-4.1.2-7.3.6.i386.rpm error: failed dependencies: libmysqlclient.so.10 is needed by php-mysql-4.1.2-7.3.6 I solve my problem by DOWNGRADING my MySql. I had MySql 4.0 installed, but this version of php (php-mysql) needs MySql version 3. That is not at all obvious from this dependency message... But I did do a locate (as suggested earlier on this thread, and I found the version .12 of this library... So I assumed that that was rev'd up to .12 for this lib in MySql 4... so I was able to downgrade MySql to v 3.23 and it seems to be the one that comes with libmysqlclient.so.10. Share this post Link to post
juggernt 0 Posted July 6, 2004 I had the same libmysqlclient problem with RH9.0 MySQL 4.0 and PHP 422. I solved it by 1. uninstalling the '422 php-msyql' rpm 2. uninstalling the MySQL 4.0 'shared' rpm (and downgrading it by... 3. installing a MySQL 3.23 'shared' rpm 4. re-installed #1.. the 422 php-mysql rpm Problem Fixed. In end I now have MySQL 4 rpms (server, client, devel, benchmark) and 1 MySQL 3 'shared rpm However.. it now works- Jason Share this post Link to post
Creep 0 Posted August 11, 2004 I know this subject is getting old, and many ppl have found their solutions to this problem. Still, MySQL seems to be offering their own as well. Download the package MySQL-shared-compat wich includes the older version of libmysqlclient.so.x (in this case x=10). Share this post Link to post
Reinhard 0 Posted February 3, 2005 do a rpm -U MySQL-shared-compat-4.1.9-0 that should solve all problems. had the same Share this post Link to post
BSchindler 0 Posted February 5, 2005 It would seem that some people are confused by locate. Locate is a facility to find programs, files, etc which are in locate's database. If you make substantial changes to your system, e.g., removing important libraries, daemons, etc., you should run locate again. This time in update mode. locate -u Then use locate to search. In the above instances, locate was giving you the "location" of the file "in the past". This is not what you wanted. Share this post Link to post