This is the mail archive of the
mailing list for the glibc project.
Re: PATCH: ldconfig.c considers ld.so.conf entries before/lib,/usr/lib
Ben Collins <firstname.lastname@example.org> writes:
>>From my understanding in this case, the ones in /usr/lib/ are generic
> compiled, and from a different source. The special libraries installed
> are optimized from another source, and do not work on all CPU's. Since
> the optimized libs only override certain parts of the package that
> supplies the main library (i.e. only runtime changes, and not linkable
> objects, and not binaries), the packages have to live together, and not
> overwrite each other.
If you have a library that only runs on e.g. i686, put it into
/lib/i686/. There're already ways in glibc to handle this stuff.
SuSE Labs email@example.com