Date: Thu, 28 Apr 2005 18:50:54 +0500 From: Tofik Suleymanov <tofik@oxygen.az> To: Corey Brune <mcbrune@gmail.com> Cc: "Chad Leigh -- Shire. Net LLC" <chad@shire.net> Subject: Re: how to make "shared library cache" (ldconfig cache) changes permanent? Message-ID: <4270EA3E.3080701@oxygen.az> In-Reply-To: <5627053705042204527599f209@mail.gmail.com> References: <1b86eafe408a7e1e2a48fc2c26c30fb0@shire.net> <5627053705042204527599f209@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Corey Brune wrote: >You can add the shared lib directories to /etc/rc.conf. > > >Corey > >On 4/22/05, Chad Leigh -- Shire. Net LLC <chad@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 >> >> assuming that you need /usr/local/fake to be your shared library path,this is what you need to add in /etc/rc.conf: (/usr/lib/compat ,/usr/X11R6/lib and /usr/local/lib are default system-wide search pathes for shared libraries) ldconfig_paths="/usr/lib/compat /usr/X11R6/lib /usr/local/lib /usr/local/fake"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4270EA3E.3080701>