MySQLdb undefined symbol
HW
google at thegoldensun.com
Mon Nov 19 19:29:24 EST 2001
Gerhard =?unknown-8bit?Q?H=E4ring?= <gh_pythonlist at gmx.de> wrote in message news:<mailman.1006136667.27283.python-list at python.org>...
> 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
Thanks for your response.
I am using MySQL 3.23.43...
Any other ideas?
Cheers,
Harlan
More information about the Python-list
mailing list