[issue21622] ctypes.util incorrectly fails for libraries without DT_SONAME

Javier Castillo II report at bugs.python.org
Thu Nov 29 03:01:58 EST 2018


Javier Castillo II <j.castillo.2nd at gmail.com> added the comment:

The PR 10460 ( for 3.8 ) patches the search attempts to leverage LD_LIBRARY_PATH for the Linux case and catches the case after SONAME, gcc and ldconfig behaviors fail.

While this may not be set in all environments ( like the musl based Alpine docker image ) setting the environment variable is within the user's control and when properly set does return found libraries.

PR 10461 and PR 10462 are closed for now, as backports to 2.7 and 3.7 need to have the 3.8 accepted first before being reviewed.

----------
nosy: +jcastillo2nd

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


More information about the Python-bugs-list mailing list