Message261628
| Author |
martin.panter |
| Recipients |
Brian.Larsen, Daniel.Blanchard, Pau Tallada, amaury.forgeotdarc, belopolsky, jniehof, lukasz.langa, martin.panter, vinay.sajip, yaroslavvb |
| Date |
2016年03月12日.01:13:50 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1457745231.43.0.802838914676.issue9998@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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()? |
|