Shot in the dark, but you may not have the postgres devel files installed.  I know that the zPyGreSQLDA needs some files from that group.
 
HTH
 

--------------------------------------------
Tom Jenkins                       |<xml>Its
devIS - Development InfoStructure |all you
703.525.6485   tjenkins@devis.com |need it
http://www.devis.com              |to be</xml>
 

-----Original Message-----
From: Bertrand [mailto:bib@artamis.org]
Sent: Tuesday, February 13, 2001 12:27 PM
To: zope@zope.org
Subject: [Zope] ZPyGreSQLDA and Zope 2.3.0

Hello,
I'm coite a Zope as well as a Postgres newbi and have absolute no knoledges about Python.
After having installed Zope on a Slackware-current (i.e: pre-7.2) without problem,
I could not set ZPyGreSQLDA correctly.

On the "Product" list, ZPyGreSQLDA status as "brocken"

Wenn trying to make a new connection, i get following message:
 

Traceback (innermost last):
  File "/usr/local/Zope-2.3.0/lib/python/OFS/Application.py", line 530, in import_products
    product=__import__(pname, global_dict, global_dict, silly)
  File "/usr/local/Zope-2.3.0/lib/python/Products/ZPyGreSQLDA/__init__.py", line 89, in ?
    import sys, os, Globals, DA
  File "/usr/local/Zope-2.3.0/lib/python/Products/ZPyGreSQLDA/DA.py", line 91, in ?
    from db import DB
  File "/usr/local/Zope-2.3.0/lib/python/Products/ZPyGreSQLDA/db.py", line 89, in ?
    import _pg, regex, sys, types
ImportError: /usr/local/Zope-2.3.0/lib/python/Products/ZPyGreSQLDA/_pgmodule.so: undefined symbol: PyObject_Init
 

May somebody help me in order to workaround this problem ?
Many thanks in advance

Kindest regards

Bertrand Habib
  _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )