[Zope] MySQLDA on Solaris

Christopher J Ceska chris@delpreston.com
Tue, 25 Jan 2000 21:10:48 -0500 (EST)


Hello Everyone. 

It has been a while since I have messed around with Zope, at least a month
or so.  Anyway, I am trying to get connectivity from Zope to a MySQL
database.  I am having some trouble, I am not sure if this is related to
solaris, or the ZMySQLDA.  Currently I am testing Solaris 7 x86, when
everything works, and I learn more it will be upsized to Sparc hardware.  

I get the following error then I try to 'build' MySQLDA:

ld -G  _mysqlmodule.o  -L/usr/local/mysql/lib -lmysqlclient -o
_mysqlmodule.so
Traceback (innermost last):
  File "build.py", line 14, in ?
    import MySQLdb
  File "MySQLdb.py", line 19, in ?
    from _mysql import *
ImportError: ld.so.1: python: fatal: relocation error: file
/usr/local/lib/mysql/libmysqlclient.so.6: symbol __udivdi3: referenced
symbol not found

Everything seems to be in the correct places - is that symbol part of
something I might not have installed?  

Any help on this would be great.

-chris