Date: Tue, 3 Dec 2002 19:42:08 +0200 From: Ruslan Ermilov <ru@FreeBSD.ORG> To: "Kenneth D. Merry" <ken@kdm.org> Cc: Wilko Bulte <wkb@freebie.xs4all.nl>, freebsd-stable@FreeBSD.ORG Subject: Re: binary compatibility broken ? Message-ID: <20021203174208.GC43956@sunbay.com> In-Reply-To: <20021203001205.A632@panzer.kdm.org> References: <20021202232706.A258@freebie.xs4all.nl> <20021203001205.A632@panzer.kdm.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021203174208.GC43956>
