Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Dec 2002 00:12:05 -0700
From:      "Kenneth D. Merry" <ken@kdm.org>
To:        Wilko Bulte <wkb@freebie.xs4all.nl>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: binary compatibility broken ?
Message-ID:  <20021203001205.A632@panzer.kdm.org>
In-Reply-To: <20021202232706.A258@freebie.xs4all.nl>; from wkb@freebie.xs4all.nl on Mon, Dec 02, 2002 at 11:27:06PM %2B0100
References:  <20021202232706.A258@freebie.xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Dec 02, 2002 at 23:27:06 +0100, Wilko Bulte wrote:
> Granted, this is a rather ancient Applixware but:
> 
> wb /usr/applix: uname -a 
> 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/FREEBIE
> i386
> wb /usr/applix: ./applix 
> /usr/libexec/ld-elf.so.1: /usr/lib/libm.so.2: Undefined symbol "__stderrp"
> wb /usr/applix: 

UPDATING on -stable says:

20021110:
        The definitions of the standard file streams (stdio, stdout, and
        stderr) have changed so that they are no longer compile-time 
        constants.  Some older binaries may require updated 3.X 
        compatability libraries (for example, by setting COMPAT3X=yes 
        for a buildworld/installworld).

I fixed this problem post-installworld on two of my machines by doing this:

cd src/lib/compat/compat3x.i386
make
make install

Things seem to work okay now.  One box was having trouble with an old
expect binary, the other with Applix:

{gondolin:/usr/home/ken:6:0} /c/applix/applix 
/usr/libexec/ld-elf.so.1: /usr/lib/libm.so.2: Undefined symbol "__stderrp"

Anyway, the above fixed it.

Ken
-- 
Kenneth Merry
ken@kdm.org

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?20021203001205.A632>