LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 09-23-2004, 10:06 AM   #1
PhilipMac
LQ Newbie
 
Registered: Sep 2004
Posts: 6

Rep: Reputation: 0
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.
 
Old 09-23-2004, 10:17 AM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Try running as root.. updatedb
 
Old 09-23-2004, 11:20 AM   #3
PhilipMac
LQ Newbie
 
Registered: Sep 2004
Posts: 6

Original Poster
Rep: Reputation: 0
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...
 
Old 09-23-2004, 02:17 PM   #4
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
can 64bit processor run both 64bit and 32bit computers? DJOtaku Linux - General 4 09-08-2005 09:14 PM
Does 64Bit Linux have all 64Bit Packages UltimateLinux Linux - Distributions 5 02-19-2005 03:20 PM
libmysqlclient.so.10 Tredo Linux - General 1 11-30-2004 02:05 PM
libmysqlclient.so.10()(64bit) not found PhilipMac Linux - Software 5 11-02-2004 06:48 PM
Vuescan SuSe9.1 64bit: libusb-0.1.so.4 not found pezi8 Linux - Hardware 1 10-25-2004 08:18 AM


All times are GMT -5. The time now is 11:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration