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 <rep...@bugs.python.org>
<http://bugs.python.org/issue9998>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to