Message264148
| Author |
martin.panter |
| Recipients |
Jeremy.Huntwork, Kylie McClain, martin.panter |
| Date |
2016年04月25日.03:20:15 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1461554415.97.0.0574013143241.issue21622@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
On Linux, the find_library() function is documented to return "the filename of the library file", but in reality it seems it return the soname, and therefore breaks if there is no soname. I do not know why we extract the soname, but it has been that way at least since ctypes was added to Python 2.5.
What do you intend to do with the result of find_library()? See also Issue 9998, especially about searching LD_LIBRARY_PATH. I am struggling to see robust use cases for find_library(). |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2016年04月25日 03:20:16 | martin.panter | set | recipients:
+ martin.panter, Jeremy.Huntwork, Kylie McClain |
| 2016年04月25日 03:20:15 | martin.panter | set | messageid: <1461554415.97.0.0574013143241.issue21622@psf.upfronthosting.co.za> |
| 2016年04月25日 03:20:15 | martin.panter | link | issue21622 messages |
| 2016年04月25日 03:20:15 | martin.panter | create |
|