[Zope] MySQL DA Help Please

Ceska, Christopher Christopher.Ceska@camp.org
Fri, 12 Nov 1999 13:56:15 -0500


I am running solaris 7 -

and yes the libraries do exist


> ----------
> From: 	Martin Holz
> Sent: 	Thursday, November 11, 1999 3:22 AM
> To: 	zope@zope.org
> Cc: 	chris@camp.org
> Subject: 	Re: [Zope] MySQL DA Help Please
> 
> 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
> 
> 
> 
>  
> 
>