Apache OpenOffice (AOO) Bugzilla – Issue 26180
python error importing socket on linux
Last modified: 2004-11-23 12:26:42 UTC
I get the two errors below when importing the socket module from OO's python. It occurs in both 1.1.0 and 1.1.1rc. It was not a issue in previous linux releases. Is it possible for the binaries to refer to libssl.so and libcrypto.so instead of libssl.so.0 and libssl.so.0? I can add symbolic links on my personal machine, but this is a problem if distributing software that uses OO's python. Thanks, Eric Python 2.2.2 (#1, Jul 21 2003, 15:13:13) [GCC 3.2.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import socket Traceback (most recent call last): File "<stdin>", line 1, in ? File "/home/eolson/apps/OpenOffice.org1.1.1/program/python-core/lib/socket.py", line 41, in ? from _socket import * ImportError: libssl.so.0: cannot open shared object file: No such file or directory >>> --- If i setup a symbolic link for libssl.so.0, I also get this error: from _socket import * ImportError: libcrypto.so.0: cannot open shared object file: No such file or directory
I have seen that there was no entry to this issue since March. And that it was assigned to the 1.1.1RC version. Have you tested this with a newer version of OOo (1.1.3 or 1.9.xx)? Does this error occurs there, too? If not: could you close this issue, please? And which distribution are you using? Which version of openssl have you installed? I have found out that libcrypto.so.0 and libssl.so.0 are part of the openssl-0.9.5a, 0.9.6 and 0.9.7c packages for SuSE, RedHat and Trustix... If you want to distribute software using OOo's python, you cannot circumvent this error without also providing a version of the required openssl version ... :( HTH
This is no longer a problem for me. I'm now using fedora core 2 and rpms for OO 1.1.1 (I probably was using fedora core 1 before). Anyone with priviledges can please close this issue.
Closing, as request by submitter.
.