[PYTHON-CRYPTO] error from alltests.py

Thomas G. Apostolou thomas.info at HOL.GR
Thu Dec 15 17:34:26 CET 2005


I have installed Plone 2.0.5 on winxp
it installed Python 2.3.3 witch i patched with
SimpleXMLRPCServer.py_Python23-24.patch
it also installed ZOPE 2.7.0

so i got m2crypto 0.13 and run the build and install options of setup.py
after making the changes to the Python\Lib\distutils\command\build_ext.py
file

i also made the libpython23.a file as
http://sebsauvage.net/python/mingw.html sudgests

i am using SWIG 1.3.27, OpenSSL 0.9.7i-fips 14 Oct 2005

"python setup.py build" gives some warnings as you can see in b.txt attached

"python setup.py install" runs with no errors as you can see in i.txt
attached

but when i run
"cd tests"
"python alltests.py"

i get a message with "python.exe - Ordinal not found" title witch says "The
ordinal 2821 could not be located in the dynamic link library LIBEYAY32.dll"
and python returns with:

Traceback (most recent call last):
  File "alltests.py", line 6, in ?
    from M2Crypto import Rand
  File "C:\Program Files\Plone
2\Python\Lib\site-packages\M2Crypto\__init__.py", line 7, in ?
    import __m2crypto
ImportError: DLL load failed with error code 182

anyone knows something about it or has allready resovled something similar?

Thanks people
Thank you Ng Pheng Siong



More information about the python-crypto mailing list