Zope 2.6 libssl install problem
I tried upgrading to Zope 2.6.0a1 and got the following error. Is this because the python binary I installed was compiled with SSL support? -Patrick
./start Traceback (most recent call last): File "/space/jprice/Zope/z2.py", line 504, in ? from SignalHandler import SignalHandler File "/space/jprice/Zope/lib/python/SignalHandler.py", line 18, in ? from ZServer import asyncore File "/space/jprice/Zope/ZServer/__init__.py", line 27, in ? from medusa import asyncore File "/space/jprice/Zope/ZServer/medusa/asyncore.py", line 51, in ? import socket File "/usr/local/lib/python2.1/socket.py", line 41, in ? from _socket import * ImportError: ld.so.1: /usr/local/bin/python: fatal: libssl.so.0.9.6: open failed: No such file or directory
Errr... it appears that your Python can't find an ssl library on your machine. Does that file exist? On Tue, 2002-08-13 at 14:32, Patrick Price wrote:
I tried upgrading to Zope 2.6.0a1 and got the following error.
Is this because the python binary I installed was compiled with SSL support?
-Patrick
./start Traceback (most recent call last): File "/space/jprice/Zope/z2.py", line 504, in ? from SignalHandler import SignalHandler File "/space/jprice/Zope/lib/python/SignalHandler.py", line 18, in ? from ZServer import asyncore File "/space/jprice/Zope/ZServer/__init__.py", line 27, in ? from medusa import asyncore File "/space/jprice/Zope/ZServer/medusa/asyncore.py", line 51, in ? import socket File "/usr/local/lib/python2.1/socket.py", line 41, in ? from _socket import * ImportError: ld.so.1: /usr/local/bin/python: fatal: libssl.so.0.9.6: open failed: No such file or directory
_______________________________________________ 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 )
Yep, darnit, I didn't have these problems with the Zope 2.5 Solaris binary (which came with Python).. So I compiled Python 2.1.3 and got this: ImportError: ld.so.1: /usr/local/bin/python: fatal: relocation error: file /space/jprice/Zope/lib/python/ExtensionClass.so: symbol __eprintf: referenced symbol not found So I removed that Python and went back to the packaged binary Python 2.1.1 and compiled openSSL to resolve the libssl.so problem. Now I'm back to square one:
./start
2002-08-13T17:03:10 PANIC(300) z2 Startup exception Traceback (innermost last): Module __main__, line 552, in ? Module <string>, line 1, in ? Module Zope, line 21, in ? Module ZODB, line 14, in ? ImportError: ld.so.1: /usr/local/bin/python: fatal: relocation error: file /space/jprice/Zope/lib/python/ExtensionClass.so: symbol __eprintf: referenced symbol not found Can anyone out there give some pointers? Thanks, Patrick Price Chris McDonough wrote:
Errr... it appears that your Python can't find an ssl library on your machine. Does that file exist?
On Tue, 2002-08-13 at 14:32, Patrick Price wrote:
I tried upgrading to Zope 2.6.0a1 and got the following error.
Is this because the python binary I installed was compiled with SSL support?
-Patrick
./start Traceback (most recent call last): File "/space/jprice/Zope/z2.py", line 504, in ? from SignalHandler import SignalHandler File "/space/jprice/Zope/lib/python/SignalHandler.py", line 18, in ? from ZServer import asyncore File "/space/jprice/Zope/ZServer/__init__.py", line 27, in ? from medusa import asyncore File "/space/jprice/Zope/ZServer/medusa/asyncore.py", line 51, in ? import socket File "/usr/local/lib/python2.1/socket.py", line 41, in ? from _socket import * ImportError: ld.so.1: /usr/local/bin/python: fatal: libssl.so.0.9.6: open failed: No such file or directory
_______________________________________________ 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 )
_______________________________________________ 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 )
Patrick Price writes:
ImportError: ld.so.1: /usr/local/bin/python: fatal: relocation error: file /space/jprice/Zope/lib/python/ExtensionClass.so: symbol __eprintf: referenced symbol not found The "ExtensionClass" module wants a symbol "__eprintf".
This looks like it should come from a standard library (all Python symbols should start with "py" or "Py"). The problem may go away (not sure, though) when you regenerate "ExtensionClass.o" and "ExtensionClass.so". I would try to start from a fresh Zope source distribution. Dieter
Dieter Maurer wrote:
Patrick Price writes:
ImportError: ld.so.1: /usr/local/bin/python: fatal: relocation error: file /space/jprice/Zope/lib/python/ExtensionClass.so: symbol __eprintf: referenced symbol not found The "ExtensionClass" module wants a symbol "__eprintf".
This looks like it should come from a standard library (all Python symbols should start with "py" or "Py").
The problem may go away (not sure, though) when you regenerate "ExtensionClass.o" and "ExtensionClass.so". I would try to start from a fresh Zope source distribution.
Dieter
Actually I read that __eprintf is from libgcc.a so I made sure to compile both Python and Zope with gcc rather than the Solaris Forte compiler. Works good now as long as I don't try to migrate all my Products to the new version. What a nightmare!
Patrick Price writes:
Actually I read that __eprintf is from libgcc.a so I made sure to compile both Python and Zope with gcc rather than the Solaris Forte compiler. Works good now as long as I don't try to migrate all my Products to the new version. What a nightmare! Your other option is to compile everything (i.e. also "ExtensionClass.c") with the Solaris Forte compiler...
It may also work when you link your modules (compiled with gcc) together with "libgcc". You must include "libgcc" when you link objects partially compiled with "gcc" as the gcc compiler generates sometimes library calls for constructs too complex to be efficiently inlined. Dieter
Patrick Price writes:
I tried upgrading to Zope 2.6.0a1 and got the following error.
Is this because the python binary I installed was compiled with SSL support? ... from _socket import * ImportError: ld.so.1: /usr/local/bin/python: fatal: libssl.so.0.9.6: open failed: No such file or directory Almost. It's because "_socket" (which probably is called "_socketmodule") was compiled with SSL support.
Dieter
participants (4)
-
Chris McDonough -
Dieter Maurer -
Patrick Price -
Patrick Price