Michael Felt added the comment: Last message (back to debian, and minor changes to learn expected behavior)
if sys.platform == "darwin": print cdll.LoadLibrary("libm.dylib") print cdll.LoadLibrary("libcrypto.dylib") print cdll.LoadLibrary("libSystem.dylib") print cdll.LoadLibrary("System.framework/System") else: print cdll.LoadLibrary("libm.so.6") # print cdll.LoadLibrary("libcrypt.so") print find_library("crypt") x = find_library("crypt") print cdll.LoadLibrary(x) returns: root@ipv4:/home/michael# python -m ctypes.util libm.so.6 libc.so.6 libbz2.so.1.0 <CDLL 'libm.so.6', handle f7e65528 at f7b51fb0> libcrypt.so.1 <CDLL 'libcrypt.so.1', handle 106a1878 at f7b51fb0> ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26439> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com