Bug#466790: libGL.so.1.2 hardcodes /usr/lib/dri

2011-02-14 Thread Michel Dänzer
On Mon, 2011-02-14 at 11:46 +0100, Goswin von Brederlow wrote: > Cyril Brulebois writes: > > > Michel Dänzer (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

Bug#466790: libGL.so.1.2 hardcodes /usr/lib/dri which breaks in ia32-libs

2011-02-14 Thread Goswin von Brederlow
Michel Dänzer writes: > On Fre, 2011-02-11 at 00:30 +0100, Javier Serrano Polo wrote: >> I've been using this for lenny: >> >> diff -Nru mesa-7.0.3.orig/configs/debian-dri-default >> mesa-7.0.3/configs/debian-d >> ri-default >> --- mesa-7.0.3.orig/configs/debian-dri-default 2010-07-08 >> 20:

Bug#466790: libGL.so.1.2 hardcodes /usr/lib/dri

2011-02-14 Thread Goswin von Brederlow
Cyril Brulebois writes: > Michel Dänzer (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 > l

Bug#466790: libGL.so.1.2 hardcodes /usr/lib/dri which breaks in ia32-libs

2011-02-11 Thread Javier Serrano Polo
El dv 11 de 02 de 2011 a les 18:29 +0100, en/na Michel Dänzer va escriure: > What's $ORIGIN ? man ld.so With dlopen: /usr/lib/libGL.so.1, $ORIGIN=/usr/lib /usr/lib32/libGL.so.1, $ORIGIN=/usr/lib32 /usr/local/lib/libGL.so.1, $ORIGIN=/usr/local/lib You can test this with: LIBGL_DEBUG=verbose \ LIB

Bug#466790: libGL.so.1.2 hardcodes /usr/lib/dri which breaks in ia32-libs

2011-02-11 Thread Michel Dänzer
On Fre, 2011-02-11 at 16:54 +0100, Javier Serrano Polo wrote: > How about '$ORIGIN/dri:/usr/lib/dri' ? What's $ORIGIN ? > Standard environments will succeed on the first lookup. Anyway, I don't think this is true at least on powerpc, where there's no /usr/lib32. -- Earthling Michel Dänzer

Bug#466790: libGL.so.1.2 hardcodes /usr/lib/dri which breaks in ia32-libs

2011-02-11 Thread Javier Serrano Polo
How about '$ORIGIN/dri:/usr/lib/dri' ? Standard environments will succeed on the first lookup. smime.p7s Description: S/MIME cryptographic signature

Bug#466790: libGL.so.1.2 hardcodes /usr/lib/dri which breaks in ia32-libs

2011-02-11 Thread Michel Dänzer
On Fre, 2011-02-11 at 00:30 +0100, Javier Serrano Polo wrote: > I've been using this for lenny: > > diff -Nru mesa-7.0.3.orig/configs/debian-dri-default > mesa-7.0.3/configs/debian-d > ri-default > --- mesa-7.0.3.orig/configs/debian-dri-default 2010-07-08 20:32:49.0 > +0200 > +++ mesa-

Bug#466790: libGL.so.1.2 hardcodes /usr/lib/dri which breaks in ia32-libs

2011-02-10 Thread Javier Serrano Polo
I've been using this for lenny: diff -Nru mesa-7.0.3.orig/configs/debian-dri-default mesa-7.0.3/configs/debian-d ri-default --- mesa-7.0.3.orig/configs/debian-dri-default 2010-07-08 20:32:49.0 +0200 +++ mesa-7.0.3/configs/debian-dri-default 2010-07-08 20:33:17.0 +0200 @@ -

Bug#466790: libGL.so.1.2 hardcodes /usr/lib/dri

2011-02-09 Thread Cyril Brulebois
Michel Dänzer (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?

Bug#466790: libGL.so.1.2 hardcodes /usr/lib/dri

2011-02-09 Thread Michel Dänzer
On Mit, 2011-02-09 at 14:38 +0100, Cyril Brulebois wrote: > Gabriel Ebner (21/02/2008): > > Package: ia32-libs > > Version: 2.2 > > Severity: important > > File: /emul/ia32-linux/usr/lib/libGL.so.1.2 > > > > libGL.so.1.2 contains the literal path "/usr/lib/dri", which breaks > > 32-bit 3D applic