| From | Sent On | Attachments |
|---|---|---|
| shu...@computer.org | Jul 1, 2003 10:14 pm | |
| daichi | Jul 1, 2003 10:20 pm | |
| shu...@computer.org | Jul 3, 2003 3:05 am | |
| Nate Williams | Jul 3, 2003 6:27 am | |
| Greg Lewis | Jul 8, 2003 8:13 am | |
| shu...@computer.org | Nov 1, 2003 8:14 pm | |
| Tim de Vries | Nov 4, 2003 4:27 pm |
| Subject: | JDK 1.1.8 V1999-11-9 on recent FBSD 4 | |
|---|---|---|
| From: | Greg Lewis (gle...@misty.eyesbeyond.com) | |
| Date: | Jul 8, 2003 8:13:10 am | |
| List: | org.freebsd.freebsd-java | |
On Thu, Jul 03, 2003 at 07:27:59AM -0600, Nate Williams wrote:
It works fine on my boxes, which are using the stock compat3 libraries. I suspect something with the above /usr/local/ libraries which are not the 'real' compat libraries as distributed as part of the base FreeBSD OS.
FWIW, my recent 4.x installs exhibit the same problem, but without the compat libraries being in /usr/local. E.g.:
ldd /usr/local/jdk1.1.8/bin/i386/green_threads/java
/usr/local/jdk1.1.8/bin/i386/green_threads/java: libjava.so => not found (0x0) libxpg4.so.2 => /usr/lib/compat/libxpg4.so.2 (0x28066000) libm.so.2 => /usr/lib/libm.so.2 (0x2806a000) libc.so.3 => /usr/lib/compat/libc.so.3 (0x28085000)
/usr/local/jdk1.1.8/bin/java -version
/usr/libexec/ld-elf.so.1: /usr/lib/libm.so.2: Undefined symbol "__stderrp"
The compat library is installed via the ports system:
pkg_info | grep compat3x
compat3x-i386-4.4.20020925 A convenience package to install the compat3x
libraries
I think Shudo-san's analysis of the problem is correct and the current 4.x libm is incompatible with 3.x applications. This hasn't always been true though and I haven't looked for when this became the case (yet).
-- Greg Lewis Email : gle...@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : gle...@FreeBSD.org





