Find the answer to your Linux question:
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 ...
  1. #1
    Just Joined!
    Join Date
    Aug 2011
    Location
    india
    Posts
    1

    Exclamation 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

  2. #2
    Linux 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

  3. #3
    Just Joined!
    Join Date
    Aug 2011
    Posts
    37
    what do you get when running:
    Code:
    rpm -qa|grep mysql

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...