Date: Tue, 7 Nov 1995 21:45:12 -0500 (EST) From: Chuck Robey <chuckr@glue.umd.edu> To: Archie Cobbs <archie@tribe.com> Cc: freebsd-questions@freebsd.org Subject: Re: Default ld search path Message-ID: <Pine.SUN.3.91.951107214031.8608A-100000@cappuccino.eng.umd.edu> In-Reply-To: <199511080040.QAA16944@bubba.tribe.com>
index | next in thread | previous in thread | raw e-mail
On Tue, 7 Nov 1995, Archie Cobbs wrote: > > Hello. > > What is the default library search path for ld ? > I can't tell from the man page. It's set on startup by the /etc/rc file, and yes, it does by default include /usr/local/lib, but not on a real dynamic basis. On startup, the directories you'll see mentioned are scanned for shared libs, and a file in /var/run called ld.so.hints carries info as to where to find stuff. If you add a library, and you're using a recent version of FreeBSD (this has changed not too long ago) you can get ldconfig to re-scan and merge in hints about libs you've added. This is all put down in the ldconfig man page, and perhaps a reread with this info will make more sense to you now. > > Reason being it doesn't seem to include /usr/local/lib. > Is this correct, and if so, shouldn't it be added? > > Curiously, > -Archie > > _______________________________________________________________________________ > Archie L. Cobbs, archie@tribe.com * Tribe Computer Works http://www.tribe.com > ========================================================================== 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, cancelhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.91.951107214031.8608A-100000>
