Re: [Fwd: How To Recover From Missing /lib/libc.so.7?]

From: Boris Kochergin <spawk_at_acm.poly.edu>
Date: Fri, 07 Aug 2009 14:30:56 -0400
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.

-Boris
Received on Fri Aug 07 2009 - 16:31:32 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:53 UTC