So if you do (at the operating system prompt):
ls -l /usr/lib/libssl*
on the computer it was compiled on (i.e. our one) you get:
lrwxrwxrwx 1 root root 15 2008-03-03 10:36 /usr/lib/libssl.so -> libssl.so.0.9.8
-rwxr-xr-x 1 root root 214396 2008-02-28 18:48 /usr/lib/libssl.so.0.9.7
-r-xr-xr-x 1 root root 271584 2007-10-18 00:09 /usr/lib/libssl.so.0.9.8
So my guess is you have 0.9.7 or older. Hopefully you can find 0.9.8
(this is the nightmare of pre-compiled code, it assumes certain system
libraries are in place and even if they are off by one minor version it
all goes to pot).
If you can't get that version then a quick fix (while Tim looks at this)
is to edit:
/sbinlab2/software/x32/ccpnmr/ccpnmr2.0/python/nijmegen/cing/iCingRobot.py
and comment out the import statement on line 6:
#import urllib2, httplib, mimetypes, mimetools
Wayne
On Wed, 8 Apr 2009, Kaare Teilum wrote:
> Hi Wayne
>
> If I do as you suggest I get:
>
> Python 2.5.2 (r252:60911, Apr 6 2009, 18:37:16)
> [GCC 4.2.1 (SUSE Linux)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import _hashlib
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> ImportError: libssl.so.0.9.8: cannot open shared object file: No such file
> or directory
>
> If I do the same thing on a 64-bit installation I get:
>
> Python 2.5.2 (r252:60911, Apr 6 2009, 17:53:27)
> [GCC 4.1.2 20070115 (prerelease) (SUSE Linux)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import _hashlib
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> ImportError: No module named _hashlib
>
> Kaare
>
> On Wed, 8 Apr 2009 08:47:30 +0100, Wayne Boucher <[log in to unmask]>
> wrote:
>
>> Hmmm, that's bad! So maybe it's something else that's missing. If you
>> run /sbinlab2/software/x32/ccpnmr/python2.5/bin/python and do:
>>
>> >>> import _hashlib
>>
>> does it give any kind of error message? That is the most likely cause of
>> the error that then leads onto the reported error.
>>
>> Wayne
>>
>> On Wed, 8 Apr 2009, Kaare Teilum wrote:
>>
>>> Hi Wayne
>>>
>>> On both the 32-bit systems I have tried /usr/lib/libssl3.so is present...
>>>
>>> Kaare
>>>
>
|