LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-22-2004, 05:36 PM   #1
PhilipMac
LQ Newbie
 
Registered: Sep 2004
Posts: 6

Rep: Reputation: 0
libmysqlclient.so.10()(64bit) not found


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 11-02-2004, 02:32 PM   #2
phoebebright
LQ Newbie
 
Registered: Nov 2004
Posts: 7

Rep: Reputation: 0
Did you ever sort this problem as I am currently stuck on the same thing?

Phoebe.
 
Old 11-02-2004, 02:41 PM   #3
PhilipMac
LQ Newbie
 
Registered: Sep 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Hi Phoebe,

The answer is no. I never did. Eventually I gave up, and am still running mySQL ver 3.X. It is a pretty poor show, because it is not clear to me how this works. I spent a long time at this, and I have other things to do. Its hurting me too, since I need some of the newer MySQLs functionality, and have to run it out on an old slower box. We have a sys admin person here, who I set on the job, but he never got back to me either.

Maybe if you do a compile of the whole thing you will have something working that will talk to perl/php etc. I am not in the mood to do this at the moment. If I find out to do this I will post up what I did. Likewise, would you mind doing the same?

Philip.
 
Old 11-02-2004, 02:58 PM   #4
phoebebright
LQ Newbie
 
Registered: Nov 2004
Posts: 7

Rep: Reputation: 0
Am currently pursuing ldconfig which seems to be the thing that points to libraries and will let you know if I have any luck.

Why is this so hard!!!!!!!!!!

Phoebe.
 
Old 11-02-2004, 03:44 PM   #5
PhilipMac
LQ Newbie
 
Registered: Sep 2004
Posts: 6

Original Poster
Rep: Reputation: 0
I mean, basically, what you should be able to do then is:
get the source for the libmysqlclient.10 libs only, ie the shared libs, and compile that,
then use the RPM installation that otherwise works,
point to the new compiled libmysqlclient.10 lib, and everyone is happy.

Maybe post up a new thread, reffer to this thread and the other threads with this problem, and say it still doesnt seem right. Someone might see it.

Philip.
 
Old 11-02-2004, 05:48 PM   #6
phoebebright
LQ Newbie
 
Registered: Nov 2004
Posts: 7

Rep: Reputation: 0
Progress (or lack of it) report:

First I found that I hadn't actually go libmysqlclient.10 installed, the locate database was out of date. So downloaded the package in 4.0 downloads in mysql that has the library, so now I could compile the php-mysql package.

BUT the api client for mysql in phpinfo now show mysql 3.23 so that was no good. I don't understand what the php-mysql package does. Do you need a new one each time you update php and it works with any version of mysql, or visa versa? Or is there a separate version for each combination of PHP/MySQL.

After trying to install a binary - no joy.

Trying to install from source using these instructions http://fedoranews.org/contributors/tony_smith/mysql/
and getting an error error: line 356: Package does not exist: %post Max
I have given up and am trying to reinstall 3.23.....

By the way - to tell builds where to look for libraries, you can add paths to this file: ld.so.conf which is in /etc on my system.

I will have to give this another go sometime and will post any progress.

Phoebe.
 
  


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 Off
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 08:14 PM
Does 64Bit Linux have all 64Bit Packages UltimateLinux Linux - Distributions 5 02-19-2005 02:20 PM
libmysqlclient.so.10 Tredo Linux - General 1 11-30-2004 01:05 PM
Vuescan SuSe9.1 64bit: libusb-0.1.so.4 not found pezi8 Linux - Hardware 1 10-25-2004 07:18 AM
libmysqlclient.so.10()(64bit) not found; is there though PhilipMac Linux - General 3 09-23-2004 01:17 PM


All times are GMT -5. The time now is 03:30 PM.

Main Menu
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