MySQLdb undefined symbol

Gerhard =?unknown-8bit?Q?H=E4ring?= gh_pythonlist at gmx.de
Sun Nov 18 21:22:27 EST 2001


On Sun, Nov 18, 2001 at 03:14:46AM -0800, HW wrote:
> Hello,
> 
> I get the following error when I try to import MySQLdb:
> 
> >>> import MySQLdb
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
>   File "/home/clairvision/local/lib/python2.1/site-packages/MySQLdb/__init__.py",
> line 27, in ?
>     import _mysql
> ImportError: /home/clairvision/local/lib/python2.1/site-packages/_mysql.so:
> undefined symbol: mysql_field_count
> >>> 
> 
> Red Hat 6.2, python 2.1.1, MySQLdb 0.9.1
> 
> Any ideas?

Maybe your MySQL is too old. The README says you need MySQL >= 3.22.19. But I'd
use the latest 3.23.x anyway.

Gerhard
-- 
mail:   gerhard <at> bigfoot <dot> de       registered Linux user #64239
web:    http://www.cs.fhm.edu/~ifw00065/    OpenPGP public key id 86AB43C0
public key fingerprint: DEC1 1D02 5743 1159 CD20  A4B6 7B22 6575 86AB 43C0
reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))




More information about the Python-list mailing list