Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Apr 2003 12:53:22 +0300
From:      Ruslan Ermilov <ru@freebsd.org>
To:        Rob B <rbyrnes@ozemail.com.au>
Cc:        freebsd-current@freebsd.org
Subject:   Re: libc.so hosed - how to fix? WAS Re: Truss refuses to build?
Message-ID:  <20030422095322.GB34580@sunbay.com>
In-Reply-To: <5.2.0.9.2.20030422191917.026d30b0@127.0.0.1>
References:  <5.2.0.9.2.20030422191917.026d30b0@127.0.0.1>

next in thread | previous in thread | raw e-mail | index | archive | help

--f2QGlHpHGjS2mn6Y
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=20
> here.  Alpha-based systems running -current were (are?) having a problem=
=20
> building world and failing at the point of building truss.
>=20
> =3D=3D=3D> 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=20
> 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
>=20
>   Stop in /usr/src/usr.bin/truss.
>   *** Error code 1
>=20
> The suggested fix was to make and install libc and awk, then perform a=20
> buildworld.
>=20
>=20
> 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=20
> >>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
>=20
> Bugger...... my system has hosed libc.so.5 (actually, libc.so.anything=20
> isn't anywhere to be found), so now it seems like it can't do=20
> _anything_.  Could anyone offer advice on where to from here?
>=20
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,
--=20
Ruslan Ermilov		Sysadmin and DBA,
ru@sunbay.com		Sunbay Software AG,
ru@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

--f2QGlHpHGjS2mn6Y
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+pRESUkv4P6juNwoRArIXAJ9J3gEnU8XQsmMKp/3txtoqEq413wCfT9+1
/PzAu4Lez0jFETPVcfWgZwo=
=RaEE
-----END PGP SIGNATURE-----

--f2QGlHpHGjS2mn6Y--



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