|Drew Tomlinson||Aug 7, 2009 11:27 am|
|Boris Kochergin||Aug 7, 2009 11:30 am|
|Jakub Lach||Aug 7, 2009 11:36 am|
|Drew Tomlinson||Aug 7, 2009 11:43 am|
|Drew Tomlinson||Aug 7, 2009 11:51 am|
|Chris Ruiz||Aug 7, 2009 11:55 am|
|Ed Schouten||Aug 7, 2009 12:03 pm|
|Mel Flynn||Aug 7, 2009 12:11 pm|
|Ed Schouten||Aug 7, 2009 12:14 pm|
|Drew Tomlinson||Aug 7, 2009 4:16 pm|
|Drew Tomlinson||Aug 7, 2009 4:18 pm|
|Drew Tomlinson||Aug 7, 2009 4:20 pm|
|Ed Schouten||Aug 7, 2009 4:21 pm|
|Mel Flynn||Aug 7, 2009 5:02 pm||.txt|
|Subject:||Re: [Fwd: How To Recover From Missing /lib/libc.so.7?]|
|From:||Chris Ruiz (yr.r...@gmail.com)|
|Date:||Aug 7, 2009 11:55:56 am|
On Fri, Aug 7, 2009 at 1:51 PM, Drew Tomlinson<dr...@mykitchentable.net> wrote:
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?
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?
You must specify NO_FSCHG= when you installworld on an unupgraded ZFS filesystem, otherwise you will lose libc.so.7! I'll spare you the details on why this happens.
Here's a quick fix:
#/rescue/cp /usr/obj/usr/src/lib/libc/libc.so.7 /lib
_______________________________________________ free...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "free...@freebsd.org"