[issue9998] ctypes find_library should search LD_LIBRARY_PATH on linux
Martin Panter
report at bugs.python.org
Fri Mar 11 20:13:51 EST 2016
Martin Panter added the comment:
I tend to agree with the comment at <https://bugs.python.org/issue2936#msg67505>. Find_library() is documented as emulating a build-time linker, not run-time. Build-time linking ignores LD_LIBRARY_PATH.
Maybe it would make more sense to pass in an optional list of -L directories to search, but it really depends on what the use cases are.
Pau: What is wrong with the more direct CDLL("libspatialindex_c.so") proposal that bypasses find_library()?
----------
nosy: +martin.panter
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9998>
_______________________________________
More information about the Python-bugs-list
mailing list