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

Jakub Lach jakub_lach at mailplus.pl
Fri Aug 7 18:36:25 UTC 2009




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
> 
> -- 
> Be a Great Magician!
> Visit The Alchemist's Warehouse
> 
> http://www.alchemistswarehouse.com
> 
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
> 
> 

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?

-best regards, 
Jakub Lach
-- 
View this message in context: http://www.nabble.com/-Fwd%3A-How-To-Recover-From-Missing--lib-libc.so.7---tp24869873p24869963.html
Sent from the freebsd-current mailing list archive at Nabble.com.



More information about the freebsd-current mailing list