Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Dec 1998 09:45:32 +1300 (NZDT)
From:      Jonathan Chen <jonc@pinnacle.co.nz>
To:        Thomas Good <tomg@nrnet.org>
Cc:        "FreeBSD-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: ldconfig
Message-ID:  <Pine.SCO.3.96.981209094335.11684E-100000@kiwi.pinnacle.co.nz>
In-Reply-To: <Pine.LNX.3.96.981208084801.7079A-100000@mailhost.nrnet.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 8 Dec 1998, Thomas Good wrote:

> Hi all,
> 
> I am confused about making *permanent* changes to the hints file
> for the linker.
> 
> # ldconfig -Rv /usr/local/pgsql/lib 
> Give me the usual suspects as well as my postgres libraries.
> But this dies on shutdown.  
> 
> How can I add my pgsql libraries to the linker's conf file?
> I was thinking of adding the above command to rc.local but that
> seems a dodgy workaround.  There must be a better way, yes?

In /etc/rc.conf (in 2.2.7R), there should be a line that looks like:

	ldconfig_paths="/usr/lib/compat /usr/X11R6/lib /usr/local/lib"

Just add /usr/local/pgsql/lib to it.

Jonathan Chen
----------------------------------------------------------------------
                        "By the time they had diminished from 50 to 8,
       the other dwarves began to suspect 'Hungry' ..." - Gary Larson


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?Pine.SCO.3.96.981209094335.11684E-100000>