[Zope-DB] ZMySQLDA installation

Xavier Poirier xpoirier at ch-bourg01.fr
Tue Dec 23 05:49:50 EST 2003


En réponse à Dieter Maurer <dieter at handshake.de>:

thanks!

with the -lz flag it works !
Have a nice day.

Xavier.

> Xavier Poirier wrote at 2003-12-22 10:02 +0100:
> >En réponse à Dieter Maurer <dieter at handshake.de>:
> >
> >I've successfully installed Python-MySQL
> >I' ve successfuly compiled now the ZMySQLDA sources, but :
> >
> >When I do the import command into python this is what I have
>:
> >
> >ImportError: ./MySQLmodule.so: undefined symbol: compress
> >
> >What does this mean ?
> 
> Looks like a missing library reference.
> 
> Shared object ("*.so") linking is sensitive to missing
> libraries.
> Because many symbols cannot (yet) be resolved (e.g. all
> symbols from Python), the linker cannot detect a missing
> library reference. A missing reference leads to "undefined
> symbol"
> error when the shared object is loaded.
> 
> The missing compress is probably defined in "libz".
> Thus, you link command almost surely lacks an "-lz"
> library reference.
> 
> -- 
> Dieter
> 



*****       Xavier Poirier          *****
***     Technicien Informatique       ***
* Centre Hospitalier de Bourg en Bresse *
*         Tel : 04 74 45 41 17          *       
***       eFax : 04 74 23 04 53       ***
***** mailto:xpoirier at ch-bourg01.fr *****

--------------------------------------------------------------------
Ce courriel est envoyé au travers de l' interface IMP: ch-bourg01.fr
Ce message a été passé automatiquement à l' antivirus 
This email have been sent through   Imap Mail Program: ch-bourg01.fr
This message have been scanned with an antivirus scanner




More information about the Zope-DB mailing list