[Buildbot-devel] Buildbot and Solaris

jasonf jasonf at datalogics.com
Wed Aug 8 13:48:48 UTC 2007


On Aug 7, 2007, at 11:10 AM, Russel Winder wrote:
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/usr/local/lib/python2.5/md5.py", line 6, in <module>
>     from hashlib import md5
>   File "/usr/local/lib/python2.5/hashlib.py", line 133, in <module>
>     md5 = __get_builtin_constructor('md5')
>   File "/usr/local/lib/python2.5/hashlib.py", line 60, in
> __get_builtin_constructor
>     import _md5
> ImportError: No module named _md5
>
>

Hi Russel,

We have a similar problem if OpenSSL is not included in  
LD_LIBRARY_PATH.  Observe:

tron:~$ unset LD_LIBRARY_PATH
tron:~$ python
Python 2.5.1 (r251:54863, Apr 24 2007, 11:07:20) [C] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
 >>> import md5
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "/opt/Python-2.5/lib/python2.5/md5.py", line 6, in <module>
     from hashlib import md5
   File "/opt/Python-2.5/lib/python2.5/hashlib.py", line 133, in  
<module>
     md5 = __get_builtin_constructor('md5')
   File "/opt/Python-2.5/lib/python2.5/hashlib.py", line 60, in  
__get_builtin_constructor
     import _md5
ImportError: No module named _md5
 >>> ^D
tron:~$ export LD_LIBRARY_PATH=/usr/local/ssl/lib
tron:~$ python
Python 2.5.1 (r251:54863, Apr 24 2007, 11:07:20) [C] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
 >>> import md5
 >>>

This is, however, a Python that we compiled, so it may or may not  
resolve your particular problem.  But you might give it a shot.

Jason






More information about the devel mailing list