[Python-Dev] python(_hashlib.so) compiled with libssl.so.1.0.1e cannot work with libssl.so.0.9.8e

Christian Heimes christian at python.org
Wed Mar 15 11:57:14 EDT 2017


On 2017-03-15 11:28, Meiling Ge wrote:
> Hi,
> 
> I just want to confirm that _hashlib.so in python references something
> new in libssl.so.1.0.1e(hmac related?).
> 
> And if we want to work on platforms with libssl.so.0.9.8e, we should
> compile python with this lower version, right?

OpenSSL 0.9.8 and 1.0.1 have an incompatible ABI. You cannot use 0.9.8
builds with 1.0.1 or the other way around. You have to re-compile
_hashlib.so.

By the way, you should neither use 0.9.8 nor 1.0.1. Both versions are no
longer supported by upstream and receive no security fixes. Some vendors
(RH, Ubuntu) still maintain 1.0.1, though.

Christian





More information about the Python-Dev mailing list