[New-bugs-announce] [issue38873] find_library for libcrypto and libssl on Catalina returns the unversioned library

Sarah Harvey report at bugs.python.org
Wed Nov 20 21:37:22 EST 2019


New submission from Sarah Harvey <s at shh.sh>:

I've been tracking this through a bunch of different projects now. With the release of Mac OS X Catalina, libcrypto.dylib is a dummy library that causes an automatic segfault, to prevent upstream software from relying on it.

However a large amount of software makes use of ctypes find_library() which will return the path to the unversioned library.

It would be nice if we could specify "find the latest version" or similar so that we don't have to manually munge in a version, especially for strongly cross-platform libraries such as oscrypto.

I've filed a similar bug here https://github.com/wbond/oscrypto/issues/35 where it's very clear how it manifests itself.

----------
components: ctypes
messages: 357125
nosy: worldwise001
priority: normal
severity: normal
status: open
title: find_library for libcrypto and libssl on Catalina returns the unversioned library
type: behavior
versions: Python 3.7

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


More information about the New-bugs-announce mailing list