$ PYTHONPATH=./pyOpenSSL-0.8-py2.5-win32.egg python -c "import OpenSSL"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "c:\Python25\lib\site-packages\pyopenssl-0.8-py2.5-win32.egg\OpenSSL\__init__.py", line 11, in <module>
File "c:\Python25\lib\site-packages\pyopenssl-0.8-py2.5-win32.egg\OpenSSL\rand.py", line 7, in <module>
File "c:\Python25\lib\site-packages\pyopenssl-0.8-py2.5-win32.egg\OpenSSL\rand.py", line 6, in __bootstrap__
ImportError: DLL load failed: The specified module could not be found.
Applying this patch -- http:// rt.openssl. org/Ticket/ Display. html?id= 1749&user= guest&pass= guest -- to openssl-0.9.8i makes it possible to build pyOpenSSL against openssl-0.9.8i with mingw. However, once I've done that, and I produce a binary egg with "python ./setup.py bdist_egg", I get the same failure as I already had with Chris's egg (described on http:// allmydata. org/trac/ tahoe/ticket/ 456#comment: 21 ):
$ PYTHONPATH= ./pyOpenSSL- 0.8-py2. 5-win32. egg python -c "import OpenSSL" lib\site- packages\ pyopenssl- 0.8-py2. 5-win32. egg\OpenSSL\ __init_ _.py", line 11, in <module> lib\site- packages\ pyopenssl- 0.8-py2. 5-win32. egg\OpenSSL\ rand.py" , line 7, in <module> lib\site- packages\ pyopenssl- 0.8-py2. 5-win32. egg\OpenSSL\ rand.py" , line 6, in __bootstrap__
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "c:\Python25\
File "c:\Python25\
File "c:\Python25\
ImportError: DLL load failed: The specified module could not be found.