[Zope] RE: ImportError - MySQL

Brian Lloyd Brian@digicool.com
Wed, 10 Feb 1999 09:35:44 -0500


> I wonder if anyone out there could help me with the following problem
> --- I'd really like to get the MySQL module to work, but 
> after building,
> installing, and trying to import, I get the following:
> 
> >>> import MySQL
> python: can't resolve symbol '__moddi3'
> python: can't resolve symbol '__divdi3'
> Traceback (innermost last):
>   File "<stdin>", line 1, in ?
> ImportError: Unable to resolve symbol
> >>> 
> 
> Any suggestions?


The README for ZMySQLDA addresses this:

   If Python is unable to import the module, you
   may need to try rebuilding the module, changing  
   the the switch "-lm" to "-lgcc" in the Setup file.



Brian Lloyd        brian@digicool.com
Software Engineer  540.371.6909              
Digital Creations  http://www.digicool.com