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

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

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. As
in the library has to be able to search multiple dirs instead of just a
single hardcoded dir. And it should better be the other way around,
lib32:lib for 32bit and lib64:lib for 32bit. And yes, ia32-libs just
bundles and moves the libs to usr/lib32. This is how gtk/pango solved
the problem.

2) Multiarch is ready as far as it concerns you. Just move the files to
/usr/lib/$(DEB_HOST_GNU_TYPE)/dri/. For compatibility reasons it would
be best to add the dir to the search path (if the lib supports multiple
paths, see 1).


Reply to: