Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Feb 2001 20:47:57 +0900
From:      "Akinori MUSHA" <knu@iDaemons.org>
To:        current@FreeBSD.org
Subject:   Backward binary compatibility with libc/libm
Message-ID:  <86wvasqiaa.wl@archon.local.idaemons.org>

next in thread | raw e-mail | index | archive | help
Seems some 4.x/3.x binary that is linked with libm.so does not work on
5-CURRENT because libm.so is not properly associated with (the latest)
libc.so.

So, when a program lets libm refers to __stdout/__stderr from within,
it fails as follows. :(

	/usr/libexec/ld-elf.so.1: /usr/lib/libm.so.2: Undefined symbol "__stderr"

Unfortunately, it applies to some important bits like JDK 1.1.8...

As a workaround, adding LDADD=-lc to src/lib/msun/Makefile seems to
do the trick and get it working.

Ideas, anyone?

-- 
                     /
                    /__  __            Akinori.org / MUSHA.org
                   / )  )  ) )  /     FreeBSD.org / Ruby-lang.org
Akinori MUSHA aka / (_ /  ( (__(  @ iDaemons.org / and.or.jp

"We're only at home when we're on the run, on the wing, on the fly"


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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