Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Aug 2009 11:11:26 -0800
From:      Mel Flynn <mel.flynn+fbsd.current@mailing.thruhere.net>
To:        freebsd-current@freebsd.org
Cc:        Drew Tomlinson <drew@mykitchentable.net>
Subject:   Re: [Fwd: How To Recover From Missing /lib/libc.so.7?]
Message-ID:  <200908071111.26347.mel.flynn%2Bfbsd.current@mailing.thruhere.net>
In-Reply-To: <4A7C7220.2090309@mykitchentable.net>
References:  <4A7C7220.2090309@mykitchentable.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908071111.26347.mel.flynn%2Bfbsd.current>