This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: ctypes '_get_soname' fails silently on missing objdump
Type: behavior Stage:
Components: Library (Lib) Versions: Python 3.9
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: GuillaumeDesforges
Priority: normal Keywords:

Created on 2021-05-27 16:27 by GuillaumeDesforges, last changed 2022-04-11 14:59 by admin.

Messages (1)
msg394565 - (view) Author: Guillaume Desforges (GuillaumeDesforges) Date: 2021-05-27 16:27
## Description

Libraries such as oscrypto will use `ctypes.utils.find_library` to look for libraries, which in turns uses ``.

However, on Linux, if the system does not have the objdump command, the function fails silently.

https://github.com/python/cpython/blob/0bf0500baa4cbdd6c5668461c2a2a008121772be/Lib/ctypes/util.py#L177

## Expected behavior

It should either raise an Exception saying that objdump is missing, or outputting a helpful message.
History
Date User Action Args
2022-04-11 14:59:46adminsetgithub: 88417
2021-05-27 16:27:10GuillaumeDesforgescreate