Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Apr 2005 03:46:24 -0600
From:      Chad Leigh -- Shire.Net LLC <chad@shire.net>
To:        List Free Bsd <freebsd-questions@freebsd.org>
Subject:   how to make "shared library cache" (ldconfig cache) changes permanent?
Message-ID:  <1b86eafe408a7e1e2a48fc2c26c30fb0@shire.net>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1b86eafe408a7e1e2a48fc2c26c30fb0>