[issue9998] ctypes find_library should search LD_LIBRARY_PATH on linux

2016-04-25 Thread Pau Tallada

Pau Tallada added the comment:

> Pau: What is wrong with the more direct CDLL("libspatialindex_c.so") proposal 
> that bypasses find_library()?

I don't know much about library loading, but from what I understand at 
https://github.com/Toblerity/rtree/issues/56 , if they hardcode 
"libspatialindex_c.so" in CDLL call, then it breaks in OSX, because its uses 
.dylib extension. And they don't want to reimplement find_library to choose the 
right extension for each platform.

--

___
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



[issue9998] ctypes find_library should search LD_LIBRARY_PATH on linux

2016-03-09 Thread Pau Tallada

Pau Tallada added the comment:

Any progress on this?
It also affects installation of rtree 
(https://github.com/Toblerity/rtree/issues/56)

--
nosy: +Pau Tallada

___
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