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

Bug#260099: xlibmesa-dri: [tdfx_dri] should dlopen() libglide3.so.x, not libglide3.so



Hi,

On Mon, Jul 26, 2004 at 23:28:17 +0200, Branden Robinson wrote:
> On Sun, Jul 18, 2004 at 03:46:03PM +0200, Hendrik Sattler wrote:
> > direct rendering is disabled until libglide3-dev is installed since
> > libglide3.so is dlopened which is (due to Debian policy, I guess)
> > only in package libglide3-dev.
> > Thus, this package needs to Suggest: libglide3-dev and not libglide3
> > (pul led in by libglide3-dev) unless you get the maintainer to not
> > follow policy, here.

Yes, that was caused by glide (2002.04.10-6) "fixing" #242063, I've
reverted that on glide (2002.04.10-8).

> Hmm.  I am thinking the tdfx Mesa DRI module should dlopen the object by
> its name *including* the shared object major version number.

Yes that's what should happen ideally, and I'll not change glide again
until the module loads the proper file.

> After all, if that major version number changes, any object dlopen()ing
> it will probably need to be aware of that fact, as the interface will
> have changed in an incompatible way.  In my view it's kind of naïve
> to expect otherwise.

The only problem I see is that third party applications may expect
those files to be present and to not have a different ABI. But that's
of no concern to Debian and we should try to do the correct thing.

On the other hand glide is used as well on Windows and DOS so to not
incur into DLL hell, =) we have to place the major number in the file
itself, and also so we're expected to not break the ABI.

regards,
guillem



Reply to: