[Zope] ZPyGreSQLDA and Zope 2.3.0

Bertrand bib@artamis.org
Tue, 13 Feb 2001 18:26:45 +0100


<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hello,
<br>I'm coite a Zope as well as a Postgres newbi and have absolute no knoledges
about Python.
<br>After having installed Zope on a Slackware-current (i.e:&nbsp;pre-7.2)
without problem,
<br>I could not set ZPyGreSQLDA correctly.
<p>On the "Product" list, ZPyGreSQLDA&nbsp;status as "brocken"
<p>Wenn trying to make a new connection, i get following message:
<br>&nbsp;<tt></tt>
<p><tt>Traceback (innermost last):</tt>
<br><tt>&nbsp; File "/usr/local/Zope-2.3.0/lib/python/OFS/Application.py",
line 530, in import_products</tt>
<br><tt>&nbsp;&nbsp;&nbsp; product=__import__(pname, global_dict, global_dict,
silly)</tt>
<br><tt>&nbsp; File "/usr/local/Zope-2.3.0/lib/python/Products/ZPyGreSQLDA/__init__.py",
line 89, in ?</tt>
<br><tt>&nbsp;&nbsp;&nbsp; import sys, os, Globals, DA</tt>
<br><tt>&nbsp; File "/usr/local/Zope-2.3.0/lib/python/Products/ZPyGreSQLDA/DA.py",
line 91, in ?</tt>
<br><tt>&nbsp;&nbsp;&nbsp; from db import DB</tt>
<br><tt>&nbsp; File "/usr/local/Zope-2.3.0/lib/python/Products/ZPyGreSQLDA/db.py",
line 89, in ?</tt>
<br><tt>&nbsp;&nbsp;&nbsp; import _pg, regex, sys, types</tt>
<br><tt>ImportError: /usr/local/Zope-2.3.0/lib/python/Products/ZPyGreSQLDA/_pgmodule.so:
undefined symbol: PyObject_Init</tt>
<br><tt></tt>&nbsp;<tt></tt>
<p><tt>May somebody help me in order to workaround this problem ?</tt>
<br><tt>Many thanks in advance</tt><tt></tt>
<p><tt>Kindest regards</tt><tt></tt>
<p><tt>Bertrand Habib</tt>
<br><tt></tt>&nbsp;</html>