workaround to run Diablo at 5.x

Alexey Zelkin phantom at freebsd.org
Mon Nov 3 04:00:33 PST 2003


hi,

On Sun, Nov 02, 2003 at 09:12:13PM -0800, Aditya wrote:
> > On Fri, 24 Oct 2003 12:24:48 +0300, Alexey Zelkin <phantom at freebsd.org> said:
> > After few expirements with running of my own compiled jdk I can
> > suggest workaround to those who need to run Diablo at -CURRENT.
> >
> > Following actions need to be done at -CURRENT machine.
> >
> > 1. install compat4.i386 2. copy /usr/lib/libm.so.2 from -STABLE
> > machine to /usr/lib/compat/ at -CURRENT machine 3. Before executing
> > of java binary make sure that you've set LD_LIBRARY_PATH to
> > '/usr/lib/compat' value.
> 
> Following your instructions, I installed the package named:
> 
>   compat4x-i386-5.0.20030328
> 
> on a machine running:
> 
>   FreeBSD hilbert.grot.org 5.1-CURRENT FreeBSD 5.1-CURRENT #4: Sun Oct  5 20:26:02 PDT 2003     root at hilbert.grot.org:/usr/obj/usr/src/sys/HILBERT  i386
> 
> and copied /usr/lib/libm.so.2 from a machine running:
> 
>   FreeBSD mighty.grot.org 4.8-STABLE FreeBSD 4.8-STABLE #0: Mon Apr  7 10:33:16 PDT 2003     aditya at mighty.grot.org:/backup/obj/trunk/src/sys/MIGHTY  i386
> 
> and running java -version yields a bus error:
> 
>   pid 967 (java), uid 515: exited on signal 10
> 
> What is going wrong?

I was writing instructions by result of expirements with jdk14.  I
have been able to run -STABLE compiled jdk14 at -CURRENT with these
instructions.  So, I assumed that jdk13 is same.  But recently (after
libm issues was fixed in -CURRENT) it was found that Diablo attempts
to dlopen /usr/lib/libc.so, which should be replaced with
/usr/lib/compat/libc.so in -CURRENT case.  Diablo need to be fixed.

Anyway, libm issue no more with recent -CURRENT.



More information about the freebsd-java mailing list