libmysqlclient.so.10()(64bit) not found; is there though
Problem: Trying to install php-mysql on a Fedora2 opteron box.
error: Failed dependencies: libmysqlclient.so.10()(64bit) is needed by php-mysql-4.3.8-2.1 BUT, rpm -qa | grep -i mysql returns: MySQL-client-4.1.5-0.glibc23 MySQL-shared-compat-4.0.21-0 <<--- MySQL-server-4.1.5-0.glibc23 MySQL-devel-4.1.5-0.glibc23 MySQL-shared-4.1.5-0.glibc23 php-mysql-4.3.8-2.1 ie, I have the backwards compat libmysqlclient.so.10 libs. They are here: /usr/lib/libmysqlclient.so.10.0.0 /usr/lib/libmysqlclient_r.so.10.0.0 /usr/lib/libmysqlclient.so.10 /usr/lib/libmysqlclient_r.so.10 /usr/lib64/mysql/libmysqlclient.so.10.0.0 /usr/lib64/mysql/libmysqlclient_r.so.10.0.0 /usr/lib64/mysql/libmysqlclient.so.10 /usr/lib64/mysql/libmysqlclient_r.so.10 I modified /etc/ld.so.conf to be: include ld.so.conf.d/*.conf /usr/X11R6/lib /usr/X11R6/lib64 /usr/lib64/qt-3.3/lib /usr/lib64/mysql and /sbin/ldconfig -v | grep libmysqlclient returns libmysqlclient_r.so.10 -> libmysqlclient_r.so.10.0.0 libmysqlclient.so.10 -> libmysqlclient.so.10.0.0 libmysqlclient_r.so.10 -> libmysqlclient_r.so.10.0.0 libmysqlclient.so.12 -> libmysqlclient.so.12.0.0 libmysqlclient_r.so.12 -> libmysqlclient_r.so.12.0.0 libmysqlclient.so.10 -> libmysqlclient.so.10.0.0 libmysqlclient_r.so.14 -> libmysqlclient_r.so.14.0.0 libmysqlclient.so.14 -> libmysqlclient.so.14.0.0 mysql -V mysql Ver 14.6 Distrib 4.1.5-gamma, for unknown-linux (x86_64) is the mysql version i am running. (Which works fine) Basically what I am asking is, how do I tell the php rpm where to find the libmysqlclient.so.10.0.0? Thanks guys... Philip. |
Try running as root.. updatedb
|
No Joy
Yeah, this didnt help much.
$ sudo updatedb $ rpm -ivh php-mysql-4.3.8-2.1.x86_64.rpm error: Failed dependencies: libmysqlclient.so.10()(64bit) is needed by php-mysql-4.3.8-2.1 Thanks though... |
Try creating a symlink to the 64 bit version in /usr/lib64/mysql both in /usr/lib and usr/lib64, update ldconf and then run the install. If it still bombs out, I'd suggest to install with --nodeps since you know the lib's are there and should be found.
|
All times are GMT -5. The time now is 12:42 AM. |