Author Michael.Felt
Recipients Michael.Felt
Date 2016-02-25.16:18:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1456417089.39.0.850133579664.issue26439@psf.upfronthosting.co.za>
In-reply-to
Content
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>
History
Date User Action Args
2016-02-25 16:18:09Michael.Feltsetrecipients: + Michael.Felt
2016-02-25 16:18:09Michael.Feltsetmessageid: <1456417089.39.0.850133579664.issue26439@psf.upfronthosting.co.za>
2016-02-25 16:18:09Michael.Feltlinkissue26439 messages
2016-02-25 16:18:09Michael.Feltcreate