JDK 1.1.8 V1999-11-9 on recent FBSD 4
Nate Williams
nate at yogotech.com
Thu Jul 3 06:28:02 PDT 2003
> JDK 1.1.8 uses the native libm of FreeBSD 4 and the libc of the
> compat3x port as follows:
>
> % 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/local/lib/compat/libxpg4.so.2 (0x28066000)
^^^^^
> libm.so.2 => /usr/lib/libm.so.2 (0x2806a000)
> libc.so.3 => /usr/local/lib/compat/libc.so.3 (0x28085000)
^^^^^
Why are your compat libraries in /usr/local? They should be in
/usr/lib/compat.
> So, there are several workarounds:
> - Add __stdinp, __stdoutp and __stderrp to the compat3x's libc.
> - Compile JDK 1.1.8 on a recent FBSD system.
> (The patches to Sun's 1.1.8 are available.)
> - Provide a small library supplying these symbols and load it
> with JDK 1.1.8 somehow.
> - ...
>
> I prefer the modification to the compat3x port because this problem is
> not limited to Java, rather general to programs which need compat3x.
>
> Does someone have motivation to solve this problem?
> I suppose no one is not using 1.1.8 on recent FBSD systems because we
> have not seen such an trouble report on this list.
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.
Nate
More information about the freebsd-java
mailing list