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

Re: Not depending on shlibs because of plugins?



On Fri, Jan 05, 2007 at 06:44:49PM +0100, Kurt Roeckx wrote:
> If it's using dlopen(), you probably want to depend on the -dev packages,
> unless you want to hardcode the complete name of the library instead of
> the soname.  It probably already breaks if they're not installed.

No, dlopen()ing an unversioned .so gives you no guarantee of ABI
compatibility.  This is inviting segfaults.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon@debian.org                                   http://www.debian.org/



Reply to: