Results 1 to 3 of 3
Hi
I am a newbie to linux. I have installed mysql via yum in fedora 11
After installation, when i start mysql using the command mysql -u root
it displays ...
- 08-29-2011 #1Just Joined!
- Join Date
- Aug 2011
- Location
- india
- Posts
- 1
mysql: error while loading shared libraries: in fedora 11
Hi
I am a newbie to linux. I have installed mysql via yum in fedora 11
After installation, when i start mysql using the command mysql -u root
it displays an
error msg
mysql: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or directory
i have tried removing the installed mysql source via yum remove command but still after re-installation i m getting the same error. Kindly advise me to further proceedings. Any help appreciated. Thanks in advance.
-
M.K
- 08-29-2011 #2Linux Guru
- Join Date
- May 2011
- Posts
- 1,843
Strange - if you installed mysql via yum, it should have installed the proper dependencies for you (libmysqlclient.so.16, e.g.).
That file should be found here:
/usr/lib/mysql/libmysqlclient.so.16
Is it not there?
You should also have this file:
/etc/ld.so.conf.d/mysql-i386.conf
and in it should be:
/usr/lib/mysql
Did you maybe install the wrong arch package (i686 vs 64bit)?
You can try to reinstall the package containing the lib package with:
Code:rpm -e --justdb --nodeps mysql-libs yum install mysql-libs
- 08-29-2011 #3Just Joined!
- Join Date
- Aug 2011
- Posts
- 37
what do you get when running:
Code:rpm -qa|grep mysql


Reply With Quote