Cyril Brulebois <k...@debian.org> writes:

> Michel Dänzer <daen...@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).

MfG
        Goswin




--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87ei7aj3m8.fsf@frosties.localnet

Reply via email to