Subject: Re: ldconfig ??????
To: None <netbsd-help@NetBSD.ORG, jacques@wired.ctech.ac.za>
From: Mike Long <mike.long@analog.com>
List: netbsd-help
Date: 02/28/1997 11:35:26
>Date: Fri, 28 Feb 97 09:59:54 +0100
>From: Paul Kranenburg <pk@cs.few.eur.nl>

[jacques wrote:]
>> On a linux box, you can specify library paths in /etc/ld.so.conf.  I
>> see that on NetBSD the ldconfig 'hint' file is in /var/run.  Is there a
>> editor that will allow you to add /usr/local/lib in there, or do
>> you have to ldconfig -v /usr/local/lib everytime?
>
>I believe `ldconfig -m <libpath>' is what you want. It merges information
>about shared libraries in <libpath> into the current `hints' file.

-current's /etc/rc supports use of /etc/ld.so.conf to feed extra
directories to ldconfig.  I don't remember when that support was
added, so it may not exist on your system.
-- 
Mike Long <mike.long@analog.com>     <URL:http://www.shore.net/~mikel>
VLSI Design Engineer         finger mikel@shore.net for PGP public key
Analog Devices, CPD Division          CCBF225E7D3F7ECB2C8F7ABB15D9BE7B
Norwood, MA 02062 USA       (eq (opinion 'ADI) (opinion 'mike)) -> nil