mxODBC and MySQL

M.-A. Lemburg mal at lemburg.com
Tue Jun 8 04:04:53 EDT 1999


Joachim Schmitz wrote:
> 
> I ugraded to 1.5.2 now I get:
> 
> Python 1.5.2 (#1, Jun  8 1999, 07:26:20)  [GCC egcs-2.91.66 19990314
> (egcs-1.1.2  on linux2
> Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
> >>> import ODBC.MySQL
> Traceback (innermost last):
>   File "<stdin>", line 1, in ?
>   File "/usr/local/lib/python1.5/ODBC/MySQL/__init__.py", line 7, in ?
>     from mxODBC import *
> ImportError: /usr/local/lib/python1.5/ODBC/MySQL/mxODBC.so: undefined
> symbol: SQLTables

Hmm, the MyODBC driver does define this function. Could be that
you've linked against the wrong lib or that the loader doesn't
find the .so file.

Cheers,
-- 
Marc-Andre Lemburg
______________________________________________________________________
Y2000:                                                   206 days left
Business:                                      http://www.lemburg.com/
Python Pages:                           http://www.lemburg.com/python/





More information about the Python-list mailing list