how to make "shared library cache" (ldconfig cache) changes permanent?

Corey Brune mcbrune at gmail.com
Fri Apr 22 04:52:30 PDT 2005


You can add the shared lib directories to /etc/rc.conf. 


Corey

On 4/22/05, Chad Leigh -- Shire. Net LLC <chad at shire.net> wrote:
> 
> I have a new directory I want to be always used to look for shared
> libraries.
> 
> I do a
> 
> % ldconfig -m /usr/public/lib
> 
> and all is well.  However, on reboot, the changes go away and I have to
> do it again.  Does not work so well if things that start up at boot
> time rely on libraries in the new directory.
> 
> How can I execute this so it is a permanent addition?
> 
> Thanks
> Chad
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>


More information about the freebsd-questions mailing list