From owner-freebsd-questions Fri Nov 10 16:05:04 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id QAA18138 for questions-outgoing; Fri, 10 Nov 1995 16:05:04 -0800 Received: from rocky.sri.MT.net (rocky.sri.MT.net [204.182.243.10]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id QAA18130 for ; Fri, 10 Nov 1995 16:04:58 -0800 Received: (from nate@localhost) by rocky.sri.MT.net (8.6.12/8.6.12) id RAA03383; Fri, 10 Nov 1995 17:07:10 -0700 Date: Fri, 10 Nov 1995 17:07:10 -0700 From: Nate Williams Message-Id: <199511110007.RAA03383@rocky.sri.MT.net> To: Archie Cobbs Cc: freebsd-questions@freebsd.org Subject: Re: ld default path In-Reply-To: <199511102312.PAA02873@bubba.tribe.com> References: <199511102312.PAA02873@bubba.tribe.com> 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? Why, when you reboot any libraries there get added in /etc/rc? # Make shared lib searching a little faster. Leave /usr/lib first if you # add your own entries or you may come to grief. if [ -x /sbin/ldconfig ]; then _LDC=/usr/lib if [ -d /usr/X11R6/lib ]; then _LDC="${_LDC} /usr/X11R6/lib" ; fi if [ -d /usr/X386/lib ]; then _LDC="${_LDC} /usr/X386/lib" ; fi if [ -d /usr/local/lib ]; then _LDC="${_LDC} /usr/local/lib" ; fi echo 'setting ldconfig path:' ${_LDC} ldconfig ${_LDC} Notice that /usr/local/lib is added via ldconfig. Nate