From owner-freebsd-questions Tue Dec 8 15:35:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA27562 for freebsd-questions-outgoing; Tue, 8 Dec 1998 15:35:57 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from madcow.borg.com (madcow.borg.com [205.217.206.165]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA27557 for ; Tue, 8 Dec 1998 15:35:56 -0800 (PST) (envelope-from mark@borg.com) Received: from mail.borg.com (mail.borg.com [205.217.206.192]) by madcow.borg.com (8.9.0/8.8.8) with ESMTP id SAA06473; Tue, 8 Dec 1998 18:35:49 -0500 (EST) Received: from mark (ip87a.borg.com [208.3.180.87]) by mail.borg.com (8.8.7/8.7.3) with SMTP id SAA23377; Tue, 8 Dec 1998 18:35:48 -0500 (EST) Message-Id: <3.0.32.19981208183721.006aeb28@mail.borg.com> X-Sender: mark@mail.borg.com X-Mailer: Windows Eudora Pro Version 3.0 (32) Date: Tue, 08 Dec 1998 18:37:23 -0500 To: Thomas Good , freebsd-questions@FreeBSD.ORG From: "Mark S. Reichman" Subject: Re: ldconfig Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG If you are using 3.0 release or higher you will need to determine if the libraries you are going to add are elf or aout. 3.0 release has two hints files. One for each binary format. The good thing is that you simply add the path to the appropriate ldconfig line in /etc/rc.conf just as the others have said. At 08:55 AM 12/8/98 -0500, you 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? >Can I hard code an /etc/ld.so.conf and force ld to read it? > >Thanks! >Tom > > ----------- Sisters of Charity Medical Center ---------- > Department of Psychiatry > ---- > Thomas Good, System Administrator > North Richmond CMHC/Residential Services Phone: 718-354-5528 > 75 Vanderbilt Ave, Quarters 8 Fax: 718-354-5056 > Staten Island, NY 10304 www.panix.com/~ugd > ---- > Powered by PostgreSQL 6.3.2 / Perl 5.004 / DBI-0.91::DBD-PG-0.69 > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > > \|/ (@ @) +----------oOO----(_)-----------------+ | Mark S. Reichman | | mark@borg.com | | | +----------------------oOO------------+ |__|__| || || ooO Ooo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message