Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Nov 1995 17:38:30 -0800 (PST)
From:      Archie Cobbs <archie@tribe.com>
To:        nate@rocky.sri.MT.net (Nate Williams)
Cc:        chuckr@glue.umd.edu, nate@rocky.sri.MT.net, archie@tribe.com, freebsd-questions@freebsd.org
Subject:   Re: ld default path
Message-ID:  <199511110138.RAA03175@bubba.tribe.com>
In-Reply-To: <199511110054.RAA03579@rocky.sri.MT.net> from "Nate Williams" at Nov 10, 95 05:54:00 pm

next in thread | previous in thread | raw e-mail | index | archive | help

> > > > The default search path for "ld" in 2.1-951104-SNAP does not include
> > > > /usr/local/lib... should this perhaps be added?
> > 
> > He's talking about static linking, I was surprised, he's probably right.
> 
> Ahh, that's because /usr/local/lib doesn't necessarily exist on all
> systems.  Adding very system specific features put you down the long
> path to making software *ONLY* work with FreeBSD.  I'd rather keep the
> development tools fairly stock.

I agree strongly that keeping stuff portable is a good idea.

But can't we add /usr/local/lib to the search path without having "ld"
crash just because the directory doesn't exist?

It seems to fit in with the underlying model of FreeBSD, which is to
have and use a proper /usr/local hierarchy.

Or do you mean that some people might expect some library in /usr/local/lib
to *not* be found unless they explicitly specify -L/usr/local/lib ?

-Archie

_______________________________________________________________________________
Archie L. Cobbs, archie@tribe.com  *  Tribe Computer Works http://www.tribe.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511110138.RAA03175>