Date: Mon, 11 Oct 1999 13:15:30 +0200 From: Sheldon Hearn <sheldonh@uunet.co.za> To: Tan Juay Kwang <jk.tan@pacific.net.sg> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: ldconfig_paths Message-ID: <86370.939640530@axl.noc.iafrica.com> In-Reply-To: Your message of "Mon, 11 Oct 1999 15:23:23 %2B0800." <Pine.GSO.4.10.9910111518360.28337-100000@firefox.pacific.net.sg>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 11 Oct 1999 15:23:23 +0800, Tan Juay Kwang wrote: > Hi all, the default rc.conf in /etc/defaults had the line > ldconfig_paths set to "/usr/lib/compat /usr/X11R6/lib > /usr/local/lib". However, ld still does not look at /usr/local/lib > while linking? Make sure you don't have settings in /etc/rc.conf which override those which you found in /etc/defaults/rc.conf . Note that there are two search path sets -- one for ELF and one for AOUT. The controlling variables are ldconfig_paths and ldconfig_paths_aout. Also note that changing these files does not automatically cause ldconfig to update the hints database. A reboot takes care of this, as do the following command: ldconfig /usr/lib/compat /usr/X11R6/lib /usr/local/lib ldconfig -aout /usr/lib/compat/aout /usr/X11R6/lib/aout \ /usr/local/lib/aout There may be other directories which are merged into the hints database by scripts in /usr/local/etc/rc.d . Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86370.939640530>