This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:16martin.pantersetrecipients: + martin.panter, Jeremy.Huntwork, Kylie McClain
2016-04-25 03:20:15martin.pantersetmessageid: <1461554415.97.0.0574013143241.issue21622@psf.upfronthosting.co.za>
2016-04-25 03:20:15martin.panterlinkissue21622 messages
2016-04-25 03:20:15martin.pantercreate