PR ld/2290, /etc/ld.so.conf search

Mike Frysinger vapier@gentoo.org
Thu Apr 6 13:38:00 GMT 2006


On Wednesday 05 April 2006 10:20, Alan Modra wrote:
> I think the best solution to this problem is for ld to look in
> ${prefix}/etc/ld.so.conf, if it exists, before looking in
> /etc/ld.so.conf.  ${prefix}/etc/ld.so.conf happens to be the default
> location of glibc's ld.so configuration file, except for --prefix=/usr
> which uses /etc/ld.so.conf by default.

would it be a good idea to have ld not bother with ${prefix}/etc/ld.so.conf 
when ${prefix} == /usr just like glibc ?
-mike



More information about the Binutils mailing list