Re: [Zope] ZPyGreSQLDA on Tru64?
On Friday 24 November 2000, at 22 h 1, the keyboard of Dieter Maurer [EMAIL PROTECTED] wrote: Try "import _pg" in an interactive Python interpreter. I remember that in some cases I got a better error message that indicated precisely, what was missing. Not here: wallis:~ python Python 2.0c1 (#2, Nov 24 2000, 11:08:10) [C] on osf1V4 Type "copyright", "credits" or "license" for more information. import _pg Traceback (most recent call last): File "stdin", line 1, in ? ImportError: dlopen: cannot load /usr/local/lib/python2.0/site-packages/_pgmodu le.so If it does not, then you may try "ldd _pgmodule.so" This program does not exist on Tru64, v4. (It appeared on v5 but I don't plan to upgrade right now.) I hope, that one of these approaches will reveal what is wrong. Otherwise, it would probably be a missing symbol. But it is quite difficult to detect which one. OK, I'll try Zope another time. ___ Zope maillist - [EMAIL PROTECTED] 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 )
Re: [Zope] ZPyGreSQLDA on Tru64?
On Friday 24 November 2000, at 16 h 1, the keyboard of Stephane Bortzmeyer [EMAIL PROTECTED] 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. ___ Zope maillist - [EMAIL PROTECTED] 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 )
Re: [Zope] ZPyGreSQLDA on Tru64?
Stephane Bortzmeyer writes: ImportError: dlopen: cannot load /usr/local/lib/python2.0/site-packages/_pgmodu le.so I expect, that "_pgmodule.so" needs some other shared object or symbol that is unavailable. Try "import _pg" in an interactive Python interpreter. I remember that in some cases I got a better error message that indicated precisely, what was missing. If it does not, then you may try "ldd _pgmodule.so" to list the shared objects required by "_pg". It will tell you, when there are some missing. I hope, that one of these approaches will reveal what is wrong. Otherwise, it would probably be a missing symbol. But it is quite difficult to detect which one. Dieter ___ Zope maillist - [EMAIL PROTECTED] 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 )