Author Michael.Felt
Recipients Michael.Felt
Date 2016-02-25.16:02:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
p.s. On a debian (on POWER) system, the function is working, but the test seems a bit broken as well, i.e., cdll.LoadLibrary("") is not working even though 

    if == "posix":
        # find and load_version
        print find_library("m")
        print find_library("c")
        print find_library("bz2")

has successfully printed.
root@ipv4:/home/michael# python -m ctypes.util
Traceback (most recent call last):
  File "/usr/lib/python2.7/", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/", line 72, in _run_code
    exec code in run_globals
  File "/usr/lib/python2.7/ctypes/", line 287, in <module>
  File "/usr/lib/python2.7/ctypes/", line 282, in test
    print cdll.LoadLibrary("")
  File "/usr/lib/python2.7/ctypes/", line 443, in LoadLibrary
    return self._dlltype(name)
  File "/usr/lib/python2.7/ctypes/", line 365, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: cannot open shared object file: No such file or directory
root@ipv4:/home/michael# uname -a
Linux 3.16.0-4-powerpc64 #1 SMP Debian 3.16.7-ckt9-3 (2015-04-23) ppc64 GNU/Linux
root@ipv4:/home/michael# ldconfig -p | grep (libc6, OS ABI: Linux 2.6.32) => /lib/powerpc-linux-gnu/
root@ipv4:/home/michael# ls -l /lib/powerpc-linux-gnu/
lrwxrwxrwx 1 root root 12 Apr 15  2015 /lib/powerpc-linux-gnu/ ->
root@ipv4:/home/michael# ls -l /lib/powerpc-linux-gnu/
-rw-r--r-- 1 root root 743784 Apr 15  2015 /lib/powerpc-linux-gnu/
Date User Action Args
2016-02-25 16:02:39Michael.Feltsetrecipients: + Michael.Felt
2016-02-25 16:02:39Michael.Feltsetmessageid: <>
2016-02-25 16:02:38Michael.Feltlinkissue26439 messages
2016-02-25 16:02:38Michael.Feltcreate