From owner-freebsd-questions Tue Dec 8 12:48:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA07749 for freebsd-questions-outgoing; Tue, 8 Dec 1998 12:48:04 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from kakapo.pinnacle.co.nz (pinsoft.internet.co.nz [202.37.141.181]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA07715 for ; Tue, 8 Dec 1998 12:48:00 -0800 (PST) (envelope-from jonc@pinnacle.co.nz) Received: from kiwi.pinnacle.co.nz (kiwi.pinnacle.co.nz [202.37.163.2]) by kakapo.pinnacle.co.nz (8.9.1/8.9.1) with SMTP id JAA02058; Wed, 9 Dec 1998 09:45:32 +1300 (NZDT) Date: Wed, 9 Dec 1998 09:45:32 +1300 (NZDT) From: Jonathan Chen To: Thomas Good cc: "FreeBSD-questions@FreeBSD.ORG" Subject: Re: ldconfig In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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