ZPyGreSQLDA on Tru64?
Zope tells me that my ZPyGreSQLDA (PostgreSQL interface) is broken and yields the following trace: ZPyGreSQLDA Import Traceback Traceback (most recent call last): File "/local/src/Zope-2.2.2-src/lib/python/OFS/Application.py", line 397, in import_products product=__import__(pname, global_dict, global_dict, silly) File "/local/zope/lib/python/Products/ZPyGreSQLDA/__init__.py", line 89, in ? import sys, os, Globals, DA File "/local/zope/lib/python/Products/ZPyGreSQLDA/DA.py", line 91, in ? from db import DB File "/local/zope/lib/python/Products/ZPyGreSQLDA/db.py", line 89, in ? import _pg, regex, sys, types ImportError: dlopen: cannot load /usr/local/lib/python2.0/site-packages/_pgmodu le.so but : wallis:/local/zope> ls -l /usr/local/lib/python2.0/site-packages/_pgmodule.so -r-xr-xr-x 1 root system 65536 Nov 24 15:50 /usr/local/lib/python2.0/site-packages/_pgmodule.so Zope version: Zope 2.2.2 (source release, python 1.5.2, linux2) Python version: 2.0c1 (#2, Nov 24 2000, 11:08:10) [C] System Platform: osf1V4 Process ID: 9128 (5381388672) Running for: 1 min 52 sec
On Friday 24 November 2000, at 16 h 1, the keyboard of Stephane Bortzmeyer <bortzmeyer@pasteur.fr> wrote:
Zope tells me that my ZPyGreSQLDA (PostgreSQL interface) is broken
No longer : the path to the PostgreSQL library was not put in the shared library object so I had to add: # PostgreSQL LD_LIBRARY_PATH=/local/pgsql/lib export LD_LIBRARY_PATH to the Zope start script and now it works fine. Thanks for those who searched. Suggestion: to improve the error message: "libpq not found" would have been more than enough to diagnose the problem.
participants (1)
-
Stephane Bortzmeyer