From owner-freebsd-questions@FreeBSD.ORG Tue Sep 19 04:56:41 2006 Return-Path: X-Original-To: questions@freebsd.org 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 54B6616A403 for ; Tue, 19 Sep 2006 04:56:41 +0000 (UTC) (envelope-from d.hill@yournetplus.com) Received: from admin.mwci.net (corp.yournetplus.com [162.42.148.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1388043D49 for ; Tue, 19 Sep 2006 04:56:40 +0000 (GMT) (envelope-from d.hill@yournetplus.com) Received: from duane.dbq.yournetplus.com (account d.hill@yournetplus.com [65.124.230.214] verified) by admin.mwci.net (CommuniGate Pro SMTP 4.1.8) with ESMTP id 47536097; Tue, 19 Sep 2006 04:56:35 +0000 Date: Tue, 19 Sep 2006 04:56:59 +0000 From: Duane Hill X-Priority: 3 (Normal) Message-ID: <484455041.20060919045659@yournetplus.com> To: Jeff Cross In-Reply-To: <450F6A0A.8070509@averageadmins.com> References: <450F6A0A.8070509@averageadmins.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: compat4x and compat5x X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Duane Hill List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Sep 2006 04:56:41 -0000 On Tuesday, September 19, 2006 at 3:54:50 AM, Jeff confabulated: > I'm not trying to kick any dead horses here but there are times when I > try to run some applications that I get some messages like the following: > /libexec/ld-elf.so.1: Shared object "libc.so.5" not found, required by... > I normally reinstall compat4x or compat5x and am good to go. I have > compat4x_enable="YES" and compat5x_enable="YES" in my /etc/rc.conf file > but I still get these messages and have to force a reinstall (after a > reboot). > I just found this thread: > http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2005-12/msg02487.html > ..and tried running the command the posted listed: > /sbin/ldconfig -m /usr/local/lib/compat > This worked like a champ. I was able to immediately run the application > in question and didn't have to force a reinstall of compat5x. > I am sure I have missed something along the way but can someone please > assist me/point me in the right direction in getting this straightened > out so I don't have to do this manually after each reboot? I would > greatly appreciate it. I had to install both myself for an application we run on a server. I installed them from /usr/ports/misc/compat4x and compat5x. The install placed the startup scripts 000.compat4x.sh and 000.compat5x.sh in /usr/local/etc/rc.d. They startup after reboot every time. There was no need to place anything in the rc.conf. -- "This message was sent using 100% recycled electrons."