[Python-Dev] Use of objdump within ctypes _get_soname() (original) (raw)
Ray Donnelly mingw.android at gmail.com
Tue Oct 9 02:58:53 EDT 2018
- Previous message (by thread): [Python-Dev] 3.7.1 and 3.6.7 Release Update
- Next message (by thread): [Python-Dev] Use of objdump within ctypes _get_soname()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
We ran into an issue on the Anaconda Distribution recently where we added libarchive-c to conda-build (so we can un-compress more source archive formats than tarfile supports) and everything was good a few hours, until it hit various CI systems where objdump is not installed.
I was a bit surprised by this dependency and wondered if there'd be interest in a fallback path that inspects the elf with some fairly simple python code to determine the soname instead? I have code that works already - though it could do with and a tidy up - and has been tested on a variety of architectures. Would CPython be interested in an attempt to upstream this?
Is it documented anywhere that objdump is needed to load some extension modules on Linux?
Best regards,
Ray Donnelly, Anaconda Inc,
- Previous message (by thread): [Python-Dev] 3.7.1 and 3.6.7 Release Update
- Next message (by thread): [Python-Dev] Use of objdump within ctypes _get_soname()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]