[New-bugs-announce] [issue44251] ctypes '_get_soname' fails silently on missing objdump

Guillaume Desforges report at bugs.python.org
Thu May 27 12:27:10 EDT 2021


New submission from Guillaume Desforges <guillaume.desforges.pro at gmail.com>:

## 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.

----------
components: Library (Lib)
messages: 394565
nosy: GuillaumeDesforges
priority: normal
severity: normal
status: open
title: ctypes '_get_soname' fails silently on missing objdump
type: behavior
versions: Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44251>
_______________________________________


More information about the New-bugs-announce mailing list