Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Aug 2009 11:44:21 -0700
From:      Drew Tomlinson <drew@mykitchentable.net>
To:        Jakub Lach <jakub_lach@mailplus.pl>
Cc:        freebsd-current@freebsd.org
Subject:   Re: [Fwd: How To Recover From Missing /lib/libc.so.7?]
Message-ID:  <4A7C7605.3010606@mykitchentable.net>
In-Reply-To: <24869963.post@talk.nabble.com>
References:  <4A7C7220.2090309@mykitchentable.net> <24869963.post@talk.nabble.com>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A7C7605.3010606>