Issue 26180 - python error importing socket on linux
Summary: python error importing socket on linux
Status: CLOSED NOT_AN_OOO_ISSUE
Alias: None
Product: udk
Classification: Code
Component: code (show other issues)
Version: OOo 1.1.1RC
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: kay.ramme
QA Contact: issues@udk
URL:
Keywords: needmoreinfo, oooqa
Depends on:
Blocks:
 
Reported: 2004-03-05 19:24 UTC by eolson
Modified: 2004-11-23 12:26 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description eolson 2004-03-05 19:24:16 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
Comment 1 thackert 2004-11-21 11:05:29 UTC
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
Comment 2 eolson 2004-11-22 17:34:31 UTC
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.
Comment 3 kay.ramme 2004-11-23 12:26:04 UTC
Closing, as request by submitter.
Comment 4 kay.ramme 2004-11-23 12:26:42 UTC
.