[issue39977] Python aborts trying to load libcrypto.dylib

Ned Deily report at bugs.python.org
Mon Mar 16 12:31:38 EDT 2020


Ned Deily <nad at python.org> added the comment:

The crash report gives the reason for the crash:

Application Specific Information:
/usr/lib/libcrypto.dylib
abort() called
Invalid dylib load. Clients should not load the unversioned libcrypto dylib as it does not have a stable ABI.

This means something you are importing is trying to access the deprecated macOS system version of OpenSSL's libcrypto and not a newer, third-party version supplied in this case by Homebrew.

Try importing _hashlib directly in the interpreter:

>>> import _hashlib

If you see the error then, you know that your Python installation has been built and linked incorrectly with the system OpenSSL libraries.  If not, then almost certainly a third-party package installed with this Pyrhon instance was built incorrectly and is trying to link to the system libcryto.  In either case, you should try re-installing those items using their latest versions.  Good luck!

----------
resolution:  -> third party
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39977>
_______________________________________


More information about the Python-bugs-list mailing list