Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jul 2003 09:19:02 -0600
From:      Greg Lewis <glewis@misty.eyesbeyond.com>
To:        Nate Williams <nate@yogotech.com>
Cc:        freebsd-java@freebsd.org
Subject:   Re: JDK 1.1.8 V1999-11-9 on recent FBSD 4
Message-ID:  <20030708151902.GA69738@misty.eyesbeyond.com>
In-Reply-To: <16132.12127.47028.816054@emerger.yogotech.com>
References:  <20030702.141346.607956687.shudo@localhost> <20030702142029.4fa5b862.daichi@freebsd.org> <20030703.190531.299490113.shudo@localhost> <16132.12127.47028.816054@emerger.yogotech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis@FreeBSD.org



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