Date: Fri, 10 Nov 1995 19:40:44 -0500 (EST) From: Chuck Robey <chuckr@glue.umd.edu> To: Nate Williams <nate@rocky.sri.MT.net> Cc: Archie Cobbs <archie@tribe.com>, freebsd-questions@freebsd.org Subject: Re: ld default path Message-ID: <Pine.SUN.3.91.951110193953.10827B-100000@espresso.eng.umd.edu> In-Reply-To: <199511110007.RAA03383@rocky.sri.MT.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 10 Nov 1995, Nate Williams wrote: > > 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. He's talking about static linking, I was surprised, he's probably right. > > > Nate > ========================================================================== Chuck Robey chuckr@eng.umd.edu, I run FreeBSD-current on n3lxx + Journey2 Here's OJ's internet address in hex code: 00 2F 2F 2F 2F 5C 7F 2D 0D 15 1B 19 24 24 24 18 If you can't recall the translation, here it is: null character, slash, slash, slash, slash, backslash, rubout, dash, carriage return, negative acknowledgement, escape, end of media, dollar sign, dollar sign, dollar sign, cancel
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.91.951110193953.10827B-100000>