From owner-freebsd-current@FreeBSD.ORG Fri Aug 7 19:11:28 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7261F106566B for ; Fri, 7 Aug 2009 19:11:28 +0000 (UTC) (envelope-from mel.flynn+fbsd.current@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 431A68FC27 for ; Fri, 7 Aug 2009 19:11:27 +0000 (UTC) Received: from smoochies.rachie.is-a-geek.net (mailhub.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 323187E818; Fri, 7 Aug 2009 11:11:27 -0800 (AKDT) From: Mel Flynn To: freebsd-current@freebsd.org Date: Fri, 7 Aug 2009 11:11:26 -0800 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA2; KDE/4.2.4; i386; ; ) References: <4A7C7220.2090309@mykitchentable.net> In-Reply-To: <4A7C7220.2090309@mykitchentable.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200908071111.26347.mel.flynn+fbsd.current@mailing.thruhere.net> Cc: Drew Tomlinson Subject: Re: [Fwd: How To Recover From Missing /lib/libc.so.7?] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Aug 2009 19:11:28 -0000 On Friday 07 August 2009 10:27:44 Drew Tomlinson wrote: > I was running FreeBSD8.0-BETA2 amd64 and attempted to upgrade with > current sources as of yesterday (8/6/09). I successfully built world and > kernel, and installed the kernel. However when I attempted to install > world, I got this error: > > ===> lib/libc (install) > install -C -o root -g wheel -m 444 libc.a /usr/lib > install -C -o root -g wheel -m 444 libc_p.a /usr/lib > install -s -o root -g wheel -m 444 -fschg -S libc.so.7 /lib > install: /lib/libc.so.7: chflags: Invalid argument > *** Error code 71 > > Stop in /usr/src/lib/libc. > *** Error code 1 > > > And now I can't do anything as every command fails with: > > /libexec/ld-elf.so.1: Shared object "libc.so.7" not found > > How can I recover from this error? I assume you're running zfs? You should be able to run commands by setting LD_LIBRARY_PATH=/usr/obj/usr/src/lib/libc. -- Mel