This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PR ld/2290, /etc/ld.so.conf search
- From: Mike Frysinger <vapier at gentoo dot org>
- To: binutils at sourceware dot org
- Cc: Alan Modra <amodra at bigpond dot net dot au>, ryanarn at us dot ibm dot com
- Date: Thu, 6 Apr 2006 08:53:32 -0400
- Subject: Re: PR ld/2290, /etc/ld.so.conf search
- Geoman: IS A RETARD
- References: <20060405142016.GS9418@bubble.grove.modra.org>
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