Goal: Increased Modularity?

Bill Nottingham notting at redhat.com
Wed Sep 5 20:24:58 UTC 2007


Les Mikesell (lesmikesell at gmail.com) said: 
>> I was discussing a case where instead of linking against libvorbis, you
>> dlopen() it - that's the sort of thing which is really much better to
>> catch at buildtime. If you're dlopening the plugin that is itself linked
>> against libvorbis (or whatever), that's better.
>
> Won't anything using a shared library break if you replace that library 
> with one that does not follow the same interface definition whether it's 
> dlopen()ed or not?  That's kind of the whole concept of interfaces - they 
> aren't supposed to change.  If you write a new one, call it something else.

Sure. But DT_NEEDED is tracked at the package level and can be
easily caught.

Bill




More information about the fedora-devel-list mailing list