[issue26439] ctypes.util.find_library fails when ldconfig/glibc not available (e.g., AIX)

Michael Felt report at bugs.python.org
Tue Oct 4 16:31:30 EDT 2016


Michael Felt added the comment:

Have a way to have both 64-bit and 32-bit modes working.

root at x064:[/data/prj/python/python-3.6.0.177/Lib/ctypes]../../python `pwd`/util.py
m       :: None
c       :: libc.a(shr_64.o)
bz2     :: libbz2.a(libbz2.so.1)
crypt   :: libcrypt.a(shr_64.o)
crypto  :: <CDLL 'libcrypto.a(libcrypto64.so.1.0.0)', handle c at 0x7000000001ffcf8>
c       :: <CDLL 'libc.a(shr_64.o)', handle d at 0x7000000001ffcf8>

root at x064:[/data/prj/python/python-3.6.0.177/Lib/ctypes]../../python `pwd`/util.py
m       :: None
c       :: libc.a(shr.o)
bz2     :: libbz2.a(libbz2.so)
crypt   :: libcrypt.a(shr.o)
crypto  :: <CDLL 'libcrypto.a(libcrypto.so)', handle c at 0x301f78b0>
c       :: <CDLL 'libc.a(shr.o)', handle d at 0x301f78b0>

Will post patch asap. Going to shorten some lines going well over 76-char lime-limit.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26439>
_______________________________________


More information about the Python-bugs-list mailing list