Menu

Problem in Py2.5

Help
John Herry
2009-12-09
2012-09-19
  • John Herry

    John Herry - 2009-12-09

    Hi, all;


    I am installing the Review Board which need the support of MySQL database, It
    requires mysql_python as interface between MySQL and python code of RB. I had
    installed this packege with easy_install then. But the installing of rb-site
    report trouble :

    Required modules are missing.

    You are missing Python modules that are needed before the

    installation process. You will need to install the necessary

    modules and restart the install.

    Server Cache (optional):

    • memcached (cmemcache, memcache)

    Databases (required):

    • sqlite3 (pysqlite2, sqlite3)
    • MySQL (MySQLdb)
    • PostgreSQL (psycopg2)

    Then I entered python to see;

    import MySQLdb

    Traceback (most recent call last):

    File "<stdin>", line 1, in <module>

    File "/data1/qiaohl/bin/develop_tools/python/python2.5/lib/python2.5/site-
    packages/MySQL_python-1.2.3c1-py2.5-linux-i686.egg/MySQLdb/init.py", line
    19, in <module>

    File "/data1/qiaohl/bin/develop_tools/python/python2.5/lib/python2.5/site-
    packages/MySQL_python-1.2.3c1-py2.5-linux-i686.egg/_mysql.py", line 7, in
    <module>

    File "/data1/qiaohl/bin/develop_tools/python/python2.5/lib/python2.5/site-
    packages/MySQL_python-1.2.3c1-py2.5-linux-i686.egg/_mysql.py", line 6, in
    bootstrap

    ImportError: libmysqlclient_r.so.15: cannot open shared object file: No such file or directory
    But the MySQL I had Installed is MySQL5.1.4 and the currect file is
    libmysqlclient_r.so.16, not "....so.15", Why It requires an order so.15
    version?


    Best Regards!

     
  • Andy Dustman

    Andy Dustman - 2009-12-09

    You installed from a pre-built egg built against MySQL-5.0. Solution: Install
    from source. Point easy_install to a source tarball. If you have problems,
    read the README file.

     
  • John Herry

    John Herry - 2009-12-10

    Thanks for help, It do works.

     

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.