server:~/MySQL-python-1.2.2# python test_MySQLdb_capabilities.py
/usr/local/lib/python2.4/site-packages/MySQL_python-1.2.2-py2.4-linux-i686.egg/_mysql.py:3: UserWarning: Module _mysql was already imported from /usr/local/lib/python2.4/site-packages/MySQL_python-1.2.2-py2.4-linux-i686.egg/_mysql.pyc, but /root/MySQL-python-1.2.2 is being added to sys.path
Traceback (most recent call last):
File "test_MySQLdb_capabilities.py", line 4, in ?
import MySQLdb
File "/root/MySQL-python-1.2.2/MySQLdb/__init__.py", line 19, in ?
import _mysql
File "build/bdist.linux-i686/egg/_mysql.py", line 7, in ?
File "build/bdist.linux-i686/egg/_mysql.py", line 6, in __bootstrap__
ImportError: /root/.python-eggs/MySQL_python-1.2.2-py2.4-linux-i686.egg-tmp/_mysql.so: undefined symbol: mysql_set_character_set
server:~/MySQL-python-1.2.2#