This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: linker SEARCH_DIR order
On Wed, May 01, 2002 at 12:48:03PM +0930, Alan Modra wrote:
> On Mon, Apr 29, 2002 at 12:17:56PM -0700, David O'Brien wrote:
> > I am very iffy on /usr/local/lib being anywhere but at the end of the
> > search list.
>
> Why? Isn't /usr/local where people are supposed to install new
> binaries, libs etc., to override those in / and /usr ?
I am of the school that there should be no overlap between /usr/lib and
/usr/local/lib -- any overlap is due to a poorly written 3rd party
application. If one really wants /usr/local to take precedence, it
should be explicitly specified.
With the 6000+ 3rd party packages in the FreeBSD Ports Collection, you
would be amazed how many times we see things in /usr/local that we really
don't want to be used over the system bits.