From owner-freebsd-current@FreeBSD.ORG Fri Aug 7 18:51:38 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 23F9A106564A for ; Fri, 7 Aug 2009 18:51:38 +0000 (UTC) (envelope-from drew@mykitchentable.net) Received: from smtp2.mc.surewest.net (qsmtp.mc.surewest.net [66.60.130.145]) by mx1.freebsd.org (Postfix) with SMTP id ED8018FC08 for ; Fri, 7 Aug 2009 18:51:37 +0000 (UTC) Received: (qmail 29932 invoked from network); 7 Aug 2009 11:38:44 -0700 Received: by simscan 1.1.0 ppid: 29920, pid: 29921, t: 2.1619s scanners: regex: 1.1.0 attach: 1.1.0 spam: 3.1.7-deb X-Spam-Checker-Version: SpamAssassin 3.1.7-deb (2006-10-05) on smtp2.surewest.net. X-Spam-Level: X-Spam-Status: No, score=0.0 required=10.0 tests=none autolearn=disabled version=3.1.7-deb X-Spam-CMAE-Analysis: v=1.0 c=1 a=SJ7wkGFtzxwA:10 a=jDt-9pEAAAAA:8 a=2-Dx92KJygyF1zLSN2AA:9 a=lQIAYhLQ-YCmDnEFzzYA:7 a=cq-3qIiYSMRrYYO3j1LMJ2M6gNAA:4 Received: from unknown (HELO blacklamb.mykitchentable.net) (69.62.230.77) by smtp2 with SMTP; 7 Aug 2009 11:38:42 -0700 Received: from [192.168.2.3] (unknown [192.168.2.3]) by blacklamb.mykitchentable.net (Postfix) with ESMTPA id 8B277164CC8; Fri, 7 Aug 2009 11:51:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mykitchentable.net; s=default; t=1249671094; bh=fdVBpA6/gM8WmQLUyt2pSXUtJdMtL6HFF+nIzK2Ryz0=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=iKEUEH+2nKG5tl6Ct0sExEdcQup0XfenqTq2RxVH6e7w0xB9h8d/aSaRmwa6POdRX M5J+mSYBLqVrnAUErL4R96YFvME/t369VrDEriX536TfAFyNwW+vVpt/BSuhZ55mhp 5P8hGxM3WBEZopYkxb9RwkGtxGthvgs1PLA7I+dI= Message-ID: <4A7C77B6.8000209@mykitchentable.net> Date: Fri, 07 Aug 2009 11:51:34 -0700 From: Drew Tomlinson User-Agent: Thunderbird 2.0.0.22 (X11/20090805) MIME-Version: 1.0 To: Boris Kochergin References: <4A7C7220.2090309@mykitchentable.net> <4A7C72E0.8080303@acm.poly.edu> In-Reply-To: <4A7C72E0.8080303@acm.poly.edu> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org 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 18:51:38 -0000 Boris Kochergin wrote: > 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? >> >> Thanks, >> >> Drew >> >> > There are statically-linked versions of essential utilities in > /rescue/. For example, you can use /rescue/mount_nfs to mount an NFS > server with the files you need, then /rescue/cp to copy them to your > system. Thanks for the reply. As I mentioned in my reply to Jakob Lach, I really have no business running -CURRENT but loaded BETA2 because the release is expected soon. So basically I have the rescue tools and the BETA2 cd. Can I just mount the BETA2 CD, search for libc.so.7, can copy it to /lib? Will that give me enough to attempt grabbing updated sources and trying again. Or should I just somehow install world from the BETA2 CD and move /boot/kernel.old back to /boot/kernel? If so, how? Thanks, Drew -- Be a Great Magician! Visit The Alchemist's Warehouse http://www.alchemistswarehouse.com