From owner-freebsd-stable Tue Dec 3 9:42:42 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F47637B401 for ; Tue, 3 Dec 2002 09:42:39 -0800 (PST) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 270BF43EA9 for ; Tue, 3 Dec 2002 09:42:33 -0800 (PST) (envelope-from ru@whale.sunbay.crimea.ua) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) by whale.sunbay.crimea.ua (8.12.6/8.12.6/Sunbay) with ESMTP id gB3HgHVX046834 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 3 Dec 2002 19:42:17 +0200 (EET) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.6/8.12.6/Submit) id gB3Hg8ot046702; Tue, 3 Dec 2002 19:42:08 +0200 (EET) Date: Tue, 3 Dec 2002 19:42:08 +0200 From: Ruslan Ermilov To: "Kenneth D. Merry" Cc: Wilko Bulte , freebsd-stable@FreeBSD.ORG Subject: Re: binary compatibility broken ? Message-ID: <20021203174208.GC43956@sunbay.com> References: <20021202232706.A258@freebie.xs4all.nl> <20021203001205.A632@panzer.kdm.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WBsA/oQW3eTA3LlM" Content-Disposition: inline In-Reply-To: <20021203001205.A632@panzer.kdm.org> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --WBsA/oQW3eTA3LlM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 03, 2002 at 12:12:05AM -0700, Kenneth D. Merry wrote: > On Mon, Dec 02, 2002 at 23:27:06 +0100, Wilko Bulte wrote: > > Granted, this is a rather ancient Applixware but: > >=20 > > wb /usr/applix: uname -a=20 > > FreeBSD freebie.xs4all.nl 4.7-STABLE FreeBSD 4.7-STABLE #4: Mon Dec 2 > > 19:35:28 CET 2002 root@freebie.xs4all.nl:/usr/obj/usr/src/sys/FREEB= IE > > i386 > > wb /usr/applix: ./applix=20 > > /usr/libexec/ld-elf.so.1: /usr/lib/libm.so.2: Undefined symbol "__stder= rp" > > wb /usr/applix:=20 >=20 > UPDATING on -stable says: >=20 > 20021110: > The definitions of the standard file streams (stdio, stdout, and > stderr) have changed so that they are no longer compile-time=20 > constants. Some older binaries may require updated 3.X=20 > compatability libraries (for example, by setting COMPAT3X=3Dyes= =20 > for a buildworld/installworld). >=20 > I fixed this problem post-installworld on two of my machines by doing thi= s: >=20 > cd src/lib/compat/compat3x.i386 > make > make install >=20 Make sure to run ``make clean'' too. :-) > Things seem to work okay now. One box was having trouble with an old > expect binary, the other with Applix: >=20 > {gondolin:/usr/home/ken:6:0} /c/applix/applix=20 > /usr/libexec/ld-elf.so.1: /usr/lib/libm.so.2: Undefined symbol "__stderrp" >=20 > Anyway, the above fixed it. >=20 Yep, from this same box: > ldd ./applix =2E/applix: libX11.so.6 =3D> /usr/X11R6/lib/libX11.so.6 (0x28075000) libm.so.2 =3D> /usr/lib/libm.so.2 (0x28117000) libc.so.3 =3D> /usr/lib/compat/libc.so.3 (0x28132000) ^^^^^^^^^^^^^^^^^^^^^^^^^ libXThrStub.so.6 =3D> /usr/X11R6/lib/libXThrStub.so.6 (0x281b3000) So that must be it. 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 --WBsA/oQW3eTA3LlM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE97OzwUkv4P6juNwoRAqwoAJ43uA3I2J6HN9e3Be5Nn0vla6qVugCeIrVW YX7YBIJryPnZMe615SVXx+o= =zjm8 -----END PGP SIGNATURE----- --WBsA/oQW3eTA3LlM-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message