[Zope] MySQL DA Help Please

Martin Holz holz@fiz-chemie.de
11 Nov 1999 09:22:56 +0100


Anthony Baxter <anthony@interlink.com.au> writes:

> >>> chris@camp.org wrote
> > What the heck does this mean?
> > 
> >   File "MySQLdb.py", line 19, in ?
> >     from _mysql import *
> > ImportError: ld.so.1: python: fatal: relocation error: file
> > /usr/local/mysql/lib
> > /mysql/libmysqlclient.so.6: symbol __udivdi3: referenced symbol not found
> 
> Wild guess - try changing the Setup file so that mysqlmodule.so links
> with -lm
> 
> Anthony

Maybe it helps, but in recent Linux systems __udivdi3 is defined
in glib2 (/lib/libc.so.6). 
It would help, if you could tell us, which OS you are running. 
If Linux, which libc-Version?
 
Try "ldd /usr/local/mysql/lib/mysql/libmysqlclient.so.6". Do all libraries exist? 

"nm <library> |grep udivdi3" tells you, which libraries require and 
provide the symbol. 

Martin Holz