[Zope] ZMySQLDA module compilation

Michel Pelletier michel@digicool.com
Fri, 2 Jul 1999 13:44:28 -0400


> -----Original Message-----
> From: Jens Vagelpohl [mailto:tommymi@concentric.net]
> Sent: Friday, July 02, 1999 8:46 AM
> To: Zope@Zope. Org
> Subject: [Zope] ZMySQLDA module compilation
> 
> 
> Hi everyone,
> 
> I am having trouble with the dynamic library MySQLmodule.so, 
> compiled from
> version 1.13 of the source code from the ZOPE website. I read 
> the message in
> the Bugs collector which says...
> 
> ***********snip snip************
> Description:
> missing linker file
> 
> You may need to add -lgcc in Setup
> ie -lmysqlclient -lgcc -lm
> 
> if you get an error when you import MySQL
> **********snip snip**************
> 
> but it doesn't solve my problem. here is the error I get when i try to
> import this module into a command-mode python session as 
> advised in the
> documentation:
> 
> >>> import MySQL
> Traceback (innermost last):
>   File "<stdin>", line 1, in ?
> ImportError: ./MySQLmodule.so: undefined symbol: open64
> >>>
> 
> the system has RedHat 5.2 (kernel 2.2.1) and python 1.5.1. ZOPE 1.10.3
> otherwise runs fine on it. i have the nagging suspicion that 
> something in
> the kernel includes of 2.2.1 could be at fault... anyone have an idea?

Does MySQL compile?

-Michel

> 
> thanks!
> 
> Jens Vagelpohl
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
> 
> (For developer-specific issues, use the companion list,
> zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
>