[Zope] ZMySQLDA

Steve Palla Steve Palla" <stevep@pobox.com
Wed, 30 May 2001 15:56:30 -0400


Hello,

I am trying to get MySQL support for zope 2.3.2 working.  I have installed
mysql-python 0.3.5 and ZMySQLDA 2.0.6.  I copied the _mysql.so file to my
ZMySQLDA directory under my zope installation.  When I start zope with
./start I get the following error:

2001-05-30T23:40:07 ERROR(200) Zope Couldn't import Products.ZMySQLDA
Traceback (innermost last):
  File /usr/local/zope/2-3-2/lib/python/OFS/Application.py, line 528, in
import_products
    (Object: string)
  File /usr/local/zope/2-3-2/lib/python/Products/ZMySQLDA/__init__.py, line
91, in ?
  File /usr/local/zope/2-3-2/lib/python/Products/ZMySQLDA/DA.py, line 91, in
?
  File /usr/local/zope/2-3-2/lib/python/Products/ZMySQLDA/db.py, line 89, in
?
ImportError: /usr/local/zope/2-3-2/lib/python/Products/ZMySQLDA/_mysql.so:
undefined symbol: PyObject_Init

Zope starts but with MySQL support.  I saw messages in the archive about
this problem, but did not see any solutions.
I am running Mandrake 8 with MySQL 3.23.36

Anyone have any idea as to what I may be doing wrong?

Thanks for any help,
Steve