[issue26439] ctypes.util.find_library fails ALWAYS when gcc is not used

Michael Felt report at bugs.python.org
Thu Feb 25 19:24:55 EST 2016


Michael Felt added the comment:

FYI: getting objdump is not too hard...

root at x064:[/data/prj/gnu/binutils-2.25.1]v/null /usr/lib/libcrypto.a         <
In archive /usr/lib/libcrypto.a:

libcrypto.so:     file format aixcoff-rs6000


libcrypto.so.0.9.8:     file format aixcoff-rs6000


libcrypto.so.1.0.0:     file format aixcoff-rs6000


libcrypto64.so:     file format aix5coff64-rs6000


libcrypto64.so.0.9.8:     file format aix5coff64-rs6000


libcrypto64.so.1.0.0:     file format aix5coff64-rs6000

But ldconfig (as a command within glibc) will be a real headache - and I would home unnecessary.

In closing, I hope the AIX command /usr/bin/dump will be adequate as an alternative of objdump.

Where I am still a bit lost is with the "open", i.e. _dlopen(). Suggestions/hints for debugging are welcome.

----------

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


More information about the Python-bugs-list mailing list