Re: Bug#210650: libxine1: libraries not correctly linked
On Sat, 13 Sep 2003, Marco d'Itri wrote:
> On Sep 13, Siggi Langauf <siggi@debian.org> wrote:
>
> >However, that was done intentionally (upstream): all X related functions
> >are _only_ called if xlibs are actually installed, which is necessary in
> >order to support setups without X11 (as used by fbxine and aaxine, for
> >example).
> Then it should use dlopen. With 13 symbols this is hardly difficult.
> I do not think this bug should be downgraded, but I'm Cc'ing
> debian-devel to read the opinions of other developers.
IIRC, dlopen() is not a good idea, either: The symbols are needed exactly
in the case that the front end application (which links against libxine)
is linked against the X libs. dlopen()ing would map the libs a second
time, which AFAICT breaks things like XLock() which must be called on the
same instance of the X client lib, or else bad races may occur...
Please CC me (or the BTS) on any answers, as I'm not on -devel!
Cheers,
Siggi
Reply to: