From owner-freebsd-questions@FreeBSD.ORG Fri Apr 22 09:46:26 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 509F616A4CE for ; Fri, 22 Apr 2005 09:46:26 +0000 (GMT) Received: from hobbiton.shire.net (hobbiton.shire.net [166.70.252.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC1BC43D2D for ; Fri, 22 Apr 2005 09:46:25 +0000 (GMT) (envelope-from chad@shire.net) Received: from [67.161.222.227] (helo=[192.168.99.68]) by hobbiton.shire.net with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.43) id 1DOujx-000G58-3y for freebsd-questions@freebsd.org; Fri, 22 Apr 2005 03:46:25 -0600 Mime-Version: 1.0 (Apple Message framework v619.2) Message-Id: <1b86eafe408a7e1e2a48fc2c26c30fb0@shire.net> To: List Free Bsd From: Chad Leigh -- Shire.Net LLC Date: Fri, 22 Apr 2005 03:46:24 -0600 X-Mailer: Apple Mail (2.619.2) X-SA-Exim-Connect-IP: 67.161.222.227 X-SA-Exim-Mail-From: chad@shire.net Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on hobbiton.shire.net X-Spam-Status: No, score=-0.1 required=5.0 tests=AWL,BAYES_50 autolearn=disabled version=3.0.0 X-Spam-Level: X-SA-Exim-Version: 4.1+cvs (built Mon, 23 Aug 2004 08:44:05 -0700) X-SA-Exim-Scanned: Yes (on hobbiton.shire.net) Subject: how to make "shared library cache" (ldconfig cache) changes permanent? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Apr 2005 09:46:26 -0000 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