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

Re: Help needed for #377468

Bastien ROUCARIES wrote:
> I would like to ask for some help for the bug #377468, if possible,
> please. Particularly from a mozilla-plugin wizard.

> The problem is that djvulibre in upstream is not linked against a particular libXt 
> in order to adapt against different libXt version depending of the browser used.
> The question raised by the upsteam is the case of the browser itself already uses libXt, and links to
> a different version of the library than the plugin. 

> This bug is easily demonstrable using the command [1]:
> $ ldd -d -r /usr/lib/netscape/plugins-libc6/nsdejavu.so  

> But this behavior is quite fragile and could break [2] and I personally think that on debian browser and plugin 
> will use the same version of library.

> Does my assertion is always valid? Can I enforce linking against libXt at build time? 

> BTW should we contact other plugin developper about bug like this and should we document this issue?

Just having made this choice w.r.t. to nsdejavu and pthread for properly
fixing #504740, I'd recommend adding the libs to NSDEJAVU_LIBS for the
reasons Steve explained (the pro becomes even more obvious when you
factor in symbol versioning that some libraries may have).

Personally, I'd also recommend to go with Steve's opinion on these
matters when you don't have one of your own, but that's mostly based on
the profound expertise in this area that he demonstrated in Debian over
and over again and not an argument in itself.

Kind regards

Thomas Viehmann, http://thomas.viehmann.net/

Reply to: