libc.so hosed - how to fix? WAS Re: Truss refuses to build?
Ruslan Ermilov
ru at freebsd.org
Tue Apr 22 02:53:33 PDT 2003
On Tue, Apr 22, 2003 at 07:22:55PM +1000, Rob B wrote:
> This is an email sent to alpha@, 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20030422/2c1d5afa/attachment-0001.bin
More information about the freebsd-current
mailing list