Project

General

Profile

Python and MySQL client library versions in Scientific linux 6

Added by Rogelio Hernandez-Lopez about 11 years ago

Hi!

Python is having a problem when trying to access libmysqlcliente_r.so.15, I checked my /usr/lib64/mysql directory and my computer just has libmysqlclient.so.16.0.0 and libmysqlclient.so.18.0.0,

I am using Scientific Linux 6 with python2.7 and MySQL 5.5

Do I need to downgrade somehow MySQL? or is the any old rpm that provides with previous mysqlclient libraries?

The error I am getting is:

File "/programs/x86_64-linux/python/2.7.3/lib/python2.7/site-packages/sinedon/sqlexpr.py", line 56, in <module>
import MySQLdb
File "build/bdist.linux-x86_64/egg/MySQLdb/__init__.py", line 19, in <module>

File "build/bdist.linux-x86_64/egg/_mysql.py", line 7, in &lt;module&gt;
File "build/bdist.linux-x86_64/egg/_mysql.py", line 6, in bootstrap
ImportError: libmysqlclient_r.so.15: cannot open shared object file: No such file or directory

thanks!


Replies (1)

RE: Python and MySQL client library versions in Scientific linux 6 - Added by Amber Herold about 11 years ago

Not sure on this one. Perhaps you need to upgrade MySQLdb? https://pypi.python.org/pypi/MySQL-python/1.2.4
Looks like the default with SciLinux6 is not the latest.

    (1-1/1)