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!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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):
Databases (required):
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!
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.
Thanks for help, It do works.