Message261628
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()? |
|
Date |
User |
Action |
Args |
2016-03-12 01:13:51 | martin.panter | set | recipients:
+ martin.panter, vinay.sajip, amaury.forgeotdarc, belopolsky, lukasz.langa, jniehof, Brian.Larsen, yaroslavvb, Daniel.Blanchard, Pau Tallada |
2016-03-12 01:13:51 | martin.panter | set | messageid: <1457745231.43.0.802838914676.issue9998@psf.upfronthosting.co.za> |
2016-03-12 01:13:51 | martin.panter | link | issue9998 messages |
2016-03-12 01:13:50 | martin.panter | create | |
|