From owner-freebsd-questions Fri Nov 10 17:40:50 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id RAA23019 for questions-outgoing; Fri, 10 Nov 1995 17:40:50 -0800 Received: from bubba.tribe.com ([205.184.207.7]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id RAA22998 for ; Fri, 10 Nov 1995 17:40:23 -0800 Received: (from archie@localhost) by bubba.tribe.com (8.6.12/8.6.12) id RAA03175; Fri, 10 Nov 1995 17:38:32 -0800 From: Archie Cobbs Message-Id: <199511110138.RAA03175@bubba.tribe.com> Subject: Re: ld default path To: nate@rocky.sri.MT.net (Nate Williams) Date: Fri, 10 Nov 1995 17:38:30 -0800 (PST) Cc: chuckr@glue.umd.edu, nate@rocky.sri.MT.net, archie@tribe.com, freebsd-questions@freebsd.org In-Reply-To: <199511110054.RAA03579@rocky.sri.MT.net> from "Nate Williams" at Nov 10, 95 05:54:00 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1078 Sender: owner-questions@freebsd.org Precedence: bulk > > > > 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