LinuxQuestions.org
Visit Jeremy's Blog.
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-14-2004, 05:59 PM   #1
tolindsey
LQ Newbie
 
Registered: Jul 2003
Location: Victoria
Distribution: redhat 9
Posts: 9

Rep: Reputation: 0
mysql and libmysqlclient.so.10


HI,

I have a relatively new installatin of Fedora 2, using apache for a webserver. I need to get mysql server running for our php applications. It seems to install okay, but when I go to change the root password of the database, I get the following error message:

[root@localhost root]# mysqladmin -u root password pa55word
mysqladmin: error while loading shared libraries: libmysqlclient.so.10: cannot open shared object file: No such file or directory
[root@localhost root]#

I've searched for answers to this on the web.. and have had very little luck! I am a linux newbie, so my apologies if this is a really silly question.. thanks for any help you can provide,
 
Old 09-15-2004, 05:25 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,771

Rep: Reputation: 308Reputation: 308Reputation: 308Reputation: 308
Point your browser in the direction of www.google.com/linux and enter the search word 'libmysqlclient'. Tons of returns.
 
Old 09-15-2004, 04:13 PM   #3
tolindsey
LQ Newbie
 
Registered: Jul 2003
Location: Victoria
Distribution: redhat 9
Posts: 9

Original Poster
Rep: Reputation: 0
Hi, thanks for the tip.. but I do have (I think) the mysql client installed.... and that file does exist! (See below for proof) I also included the error message again..

Any other suggestions for me?

[root@localhost root]# rpm -qa | grep mysql
mysql-3.23.58-9
php-mysql-4.3.8-2.1
mysql-server-3.23.58-9
[root@localhost root]# locate sqlclient
/usr/lib/mysql/libmysqlclient_r.so.10
/usr/lib/mysql/libmysqlclient.so.10
/usr/lib/mysql/libmysqlclient_r.so.10.0.0
/usr/lib/mysql/libmysqlclient.so.10.0.0
[root@localhost root]# mysqladmin -u root password fruitbat
mysqladmin: error while loading shared libraries: libmysqlclient.so.10: cannot open shared object file: No such file or directory
[root@localhost root]#
 
Old 09-16-2004, 05:38 AM   #4
3spre10
LQ Newbie
 
Registered: Sep 2004
Distribution: SuSE
Posts: 21

Rep: Reputation: 15
Install for a while phpmyadmin inside your website, change the folder's name, configure it with path and user/pass (3 places) then try to acces it via any browser...

It should work fine at least for changing the password - dont forget to hit reload privileges! Then u might want to reconfigure phpmyadmin if u decide to use it...

Well if the above method works - then u might have a problem on mysql in locating the file (libmysqlclient.so.10) or accesing it (check rights)...
 
Old 09-16-2004, 08:55 PM   #5
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 198Reputation: 198
Download this: http://downloads.mysql.com/archives/....58-1.i386.rpm

Or this:

http://downloads.mysql.com/archives/....58-1.i386.rpm

Both should work. You can even get a later version of the MySQL-shared as its backward compatible.
 
Old 09-17-2004, 07:54 AM   #6
mhearn
Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
Alternatively, try this sequence of commands as root

echo /usr/lib/mysql >> /etc/ld.so.conf
/sbin/ldconfig

That should fix it ...
 
Old 01-19-2006, 05:06 PM   #7
mrfreeze
LQ Newbie
 
Registered: Jul 2004
Posts: 7

Rep: Reputation: 0
Quote:
Originally Posted by mhearn
Alternatively, try this sequence of commands as root

echo /usr/lib/mysql >> /etc/ld.so.conf
/sbin/ldconfig

That should fix it ...
Hi Mike could you give me the command to undo this command u gave us?
Now instead of two missing lib files I have twelve
 
  


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
PHP5 having problems with libmysqlclient alitrix Linux - Software 2 05-23-2007 08:50 AM
libmysqlclient.so.10 Tredo Linux - General 1 11-30-2004 01:05 PM
libmysqlclient.so.10()(64bit) not found PhilipMac Linux - Software 5 11-02-2004 05:48 PM
libmysqlclient.so.10()(64bit) not found; is there though PhilipMac Linux - General 3 09-23-2004 01:17 PM
MySQL and PHP: incompatible libmysqlclient library dciric Linux - Software 1 05-31-2004 12:18 PM


All times are GMT -5. The time now is 01:38 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