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 vinay.sajip
Recipients Brian.Larsen, Daniel.Blanchard, Pau Tallada, amaury.forgeotdarc, belopolsky, jniehof, lukasz.langa, martin.panter, vinay.sajip, yaroslavvb
Date 2016-03-14.08:22:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1457943722.81.0.575385248475.issue9998@psf.upfronthosting.co.za>
In-reply-to
Content
> find_library() is documented as emulating a build-time linker, not run-time

It may be documented as that, but is emulating a build-time linker the most useful thing? In the context of Python binding to external libraries, why is build-time linking behaviour better than run-time linking behaviour? This is an enhancement request, not a bug request: so if a change was to be applied, the documentation could be updated to indicate any change in behaviour.

The use case is that a shared library needed by a Python extension is available on LD_LIBRARY_PATH such that a non-ctypes linking operation would find it, but ctypes.util.find_library() won't, so a user of the extension (who may not be its developer) can't load the extension easily. See also my comment http://bugs.python.org/issue9998#msg165806
History
Date User Action Args
2016-03-14 08:22:02vinay.sajipsetrecipients: + vinay.sajip, amaury.forgeotdarc, belopolsky, lukasz.langa, jniehof, Brian.Larsen, yaroslavvb, martin.panter, Daniel.Blanchard, Pau Tallada
2016-03-14 08:22:02vinay.sajipsetmessageid: <1457943722.81.0.575385248475.issue9998@psf.upfronthosting.co.za>
2016-03-14 08:22:02vinay.sajiplinkissue9998 messages
2016-03-14 08:22:02vinay.sajipcreate