Menu

Failed dependencies:libmysqlclient_r.so.10

Help
Anonymous
2003-04-22
2012-09-19
  • Anonymous

    Anonymous - 2003-04-22

    I am using I'm using Python 2.2, mysql 3.23.52-3 and trying to install MySQL-python-0.9.2-1.i386.rpm on Redhat 8.0. Mysql and Python and python-devel are already installled via Redhat RPM's. When i try to install the MySQL-python-0.9.2-1.i386.rpm, I get the following error:

    error: Failed dependencies:
            libmysqlclient_r.so.10 is needed by MySQL-python-0.9.2-1

    Redhat has /usr/lib/mysql/libmysqlclient.so.10.0.0
    I made a symlink:
    ln -s libmysqlclient.so.10.0.0 libmysqlclient_r.so.10

    and tried the MySQL-python-0.9.2-1.i386.rpm again and got the same error.

    Any suggestion would be greatly appreciated

     
    • Andy Dustman

      Andy Dustman - 2003-04-26

      Isn't MySQL-python-0.9.2 already in Red Hat 8.0 (on their CDs)?

      I think your only option is to get the tarball and build an RPM from that. Read the README within for instructions.

       
      • Skip Montanaro

        Skip Montanaro - 2003-10-07

        Coming to this thread late - I need to install MySQL 4.0.15 from source on Solaris.  No libmysqlclient_r.so.* file is built as far as I can tell.  I configured with the --with-pthread flag.  Is this perhaps a shared library which is no longer created?

        Another response in a related thread said to
        create a symlink from libmysqlclient_r.so to
        libmysqlclient.so.  That sounds a bit dangerous.
        Presumably the _r version of the library is named
        differently for a reason.  I looked back at my Linux
        server which runs 3.23.41.  It has both versions.  They
        are distinct.

        What does the _r mean and what are the ramifications of using libmysqlclient.so?

         
    • Flemming Bjerke

      Flemming Bjerke - 2003-05-01

      Well, I haven't been able to make the rpm packet work. Only the python build from the tar-packet seems to work. Incidentally, I  neither could get the deb packet work, but that was because the zope deb packet did not work at all (apt-get on knoppix3.2). So, my conclusion: Use tar packets of zope, zmysqlda together and mysql-python.You may use the zope-rpm from mysql.com.

      Flemming

       
    • Anonymous

      Anonymous - 2003-10-07

      Sorry, not
      ln -s libmysqlclient_r.so.10.0.0 libmysqlclient.so
      but
      ln -s libmysqlclient_r.so.10.0.0 libmysqlclient_r.so

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.