[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#693481: find_library() in python-webm



* Dmitry Smirnov <onlyjob@member.fsf.org>, 2013-06-23, 06:03:
Please don't, unless you fancy your software segfaulting. find_library is fundamentally broken: it gives you a library with unpredictable ABI.
What would you recommend to use instead?

Determine shared library names that are compatible with the Python code at development time, and then hardcode them into the Python module.

xpra's webm module does it almost right:
1) It shouldn't try to open "libwebp.so";
2) It should treat gnu* (Hurd, kFreeBSD) platforms in the same way as linux2.

--
Jakub Wilk


Reply to: