I have mysql 4.0.12. binary distro, added the 'includes' rpm.
I have python compiled without threads - because some other module requires it. Could that be the problem causing the following output?
Python 2.2.2 (#1, May 5 2003, 16:53:06)
[GCC 2.95.4 20011002 (Debian prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import MySQLdb
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/local/lib/python2.2/site-packages/MySQLdb/__init__.py", line 27, in ?
import _mysql
ImportError: /usr/local/lib/python2.2/site-packages/_mysql.so: undefined symbol: pthread_key_create
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have mysql 4.0.12. binary distro, added the 'includes' rpm.
I have python compiled without threads - because some other module requires it. Could that be the problem causing the following output?
Python 2.2.2 (#1, May 5 2003, 16:53:06)
[GCC 2.95.4 20011002 (Debian prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import MySQLdb
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/local/lib/python2.2/site-packages/MySQLdb/__init__.py", line 27, in ?
import _mysql
ImportError: /usr/local/lib/python2.2/site-packages/_mysql.so: undefined symbol: pthread_key_create