JDK 1.1.8 V1999-11-9 on recent FBSD 4

Greg Lewis glewis at misty.eyesbeyond.com
Tue Jul 8 08:13:27 PDT 2003


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   : glewis at eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis at FreeBSD.org



More information about the freebsd-java mailing list