[issue12876] Make Test Error : ImportError: No module named _sha256

Wong Wah Meng report at bugs.python.org
Fri Sep 30 12:57:56 CEST 2011

Wong Wah Meng <r32813 at freescale.com> added the comment:

I tried again the build, after a new openSSL is installed on by my UNIX admin. The OpenSSL version is A.00.09.08r.003. The same result is generated when random is tested. The hashlib cannot be imported due to missing _sha256. 

In my build, I explicitly pass in -I to include header files of openssl, and -L to link up the libraries in openssl. 

export CC="cc +DD64 -I/home/r32813/local/include -I/opt/openssl/include"
export LDFLAGS="-L/home/r32813/local/lib -L/opt/openssl/lib -L/home/r32813/Build/2.7.1/Python-2.7.1"

Could anyone re-look at this issue again?


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list