From owner-freebsd-current@FreeBSD.ORG Fri Aug 7 18:44: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 1FA56106566B for ; Fri, 7 Aug 2009 18:44: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 EE4318FC1A for ; Fri, 7 Aug 2009 18:44:37 +0000 (UTC) Received: (qmail 26369 invoked from network); 7 Aug 2009 11:31:34 -0700 Received: by simscan 1.1.0 ppid: 26358, pid: 26359, t: 2.1961s 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=wQAjZHBcUltk_SKndPkA:7 a=iFVf5L1UP2zZv57qlsy849hZyYIA:4 Received: from unknown (HELO blacklamb.mykitchentable.net) (69.62.230.77) by smtp2 with SMTP; 7 Aug 2009 11:31:32 -0700 Received: from [192.168.2.3] (unknown [192.168.2.3]) by blacklamb.mykitchentable.net (Postfix) with ESMTPA id D35A7164CC4; Fri, 7 Aug 2009 11:44:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mykitchentable.net; s=default; t=1249670663; bh=RvsJiWdt0jy+4mvXsOSyjmP4jliZFRin9SemiMOl9L4=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=S2dJLJF3jTlNgSPVpmuC6C5XpqV/y483QjnURGCgsqr1VblyvTAodRRn+KPpYrO1i slNmuJzCIEvy2j8JTR1Di3ejMNXpKumwU/zBmtWc6dK4Lc/6OERap6t/1Sn6w4DMkG H6vfYrmREflaRBJqvUv6JGIFULvwy1NPRL3tciX4= Message-ID: <4A7C7605.3010606@mykitchentable.net> Date: Fri, 07 Aug 2009 11:44:21 -0700 From: Drew Tomlinson User-Agent: Thunderbird 2.0.0.22 (X11/20090805) MIME-Version: 1.0 To: Jakub Lach References: <4A7C7220.2090309@mykitchentable.net> <24869963.post@talk.nabble.com> In-Reply-To: <24869963.post@talk.nabble.com> 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:44:38 -0000 Jakub Lach 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 > > If it's really missing, use some bootcd. > It shouldn't though. > > Any chance you have deleted /lib conten in attempt to purge > /usr/local/lib? > I'm really out of my league and appreciate the help. I was about to install this new machine with 7.x but then 8.0-BETA2 was announced with the actual release expected soon. Thus I installed 8.0-BETA2, especially since I wanted to learn about ZFS. But anyway, I didn't directly delete /lib. However I don't know what "make installworld" may have done. Thanks, Drew -- Be a Great Magician! Visit The Alchemist's Warehouse http://www.alchemistswarehouse.com