Bug#466790: libGL.so.1.2 hardcodes /usr/lib/dri
On Mon, 2011-02-14 at 11:46 +0100, Goswin von Brederlow wrote:
> Cyril Brulebois <kibi@debian.org> writes:
>
> > Michel Dänzer <daenzer@debian.org> (09/02/2011):
> >> What would be the problem with making the default search path
> >> /usr/lib/dri:/usr/lib32/dri ?
> >
> > Looks easy enough. Goswin, could you try that and tell us if that's
> > enough for your needs? Not sure how ia32-libs works. Just bundles
> > libraries, moving usr/lib to usr/lib32?
> >
> > KiBi.
>
> Two things:
>
> 1) /usr/lib/dri:/usr/lib32/dri needs to be supported by the library.
If it didn't, I wouldn't have suggested a path with multiple
elements. :)
Anyway, the $ORIGIN solution suggested by Javier actually seems best to
me, AFAICT a single element path might even do with that. In fact, if it
works on all relevant platforms, maybe that should be the default
upstream.
--
Earthling Michel Dänzer | http://www.vmware.com
Libre software enthusiast | Debian, X and DRI developer
Reply to: