Re: libc.so hosed - how to fix? WAS Re: Truss refuses to build?

From: Ruslan Ermilov <ru_at_freebsd.org>
Date: Tue, 22 Apr 2003 12:53:22 +0300
On Tue, Apr 22, 2003 at 07:22:55PM +1000, Rob B wrote:
> This is an email sent to alpha_at_, but I thought I'd post it 
> here.  Alpha-based systems running -current were (are?) having a problem 
> building world and failing at the point of building truss.
> 
> ===> usr.bin/truss
>   cp /usr/src/usr.bin/truss/../../sys/kern/syscalls.master syscalls.master
>   /bin/sh /usr/src/usr.bin/truss/../../sys/kern/makesyscalls.sh 
> syscalls.master /usr/src/usr.bin/truss/i386.conf
>   awk: floating point exception 8
>    input record number 325, file
>    source line number 87
>   *** Error code 2
> 
>   Stop in /usr/src/usr.bin/truss.
>   *** Error code 1
> 
> The suggested fix was to make and install libc and awk, then perform a 
> buildworld.
> 
> 
> At 11:36 PM 19/04/03, Rob B sent this up the stick:
> >At 11:28 PM 19/04/03, Philip Paeps sent this up the stick:
> >>I only rebuilt libc and awk, if I recall correctly.  Don't forget to 
> >>install
> >>them as well :-)
> >
> >I did, and the subsequent buildworld still bombed at the same point
> >
> >I'm redoing it again from a clean /usr/obj
> 
> Bugger...... my system has hosed libc.so.5 (actually, libc.so.anything 
> isn't anywhere to be found), so now it seems like it can't do 
> _anything_.  Could anyone offer advice on where to from here?
> 
There are plenty of options, including booting off the installation
CD-ROM, using the fixit option, and copying libc.so.* to /usr/lib.
Another option would be to boot in single-user mode, mount /usr and
a floppy, and copy floppy contents (libc.so.*) to /usr/lib.


Cheers,
-- 
Ruslan Ermilov		Sysadmin and DBA,
ru_at_sunbay.com		Sunbay Software AG,
ru_at_FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age

Received on Tue Apr 22 2003 - 00:53:32 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:04 UTC