Subject: Re: JDK package broken
To: None <arto.huusko@maailma.yok.utu.fi>
From: Masao Uebayashi <uebayasi@orchid.plala.or.jp>
List: port-i386
Date: 01/20/2001 23:04:23
Hi Arto,

Which JDK are you using, what's the version of your NetBSD? ('uname
-a' is sufficient info), and is it aout or ELF? (try, 'echo __ELF__ |
gcc -E -')

I installed 'pkgsrc/lang/sun-jdk13' into my 1.5Q (ELF) box and it
seems working.

Regards,
Masao

> The JDK package apparently is quite bonkers. My trouble was
> that nothing worked: saying "java" to prompt ended up with
> the prompt promptly telling me:
> Shared object "libjava.so" not found
> 
> This, naturally, is because indeed there is no libjava.so
> in the jdk package. Instead there is libjava.so.1.1.8.
> Removing the offending numerical information from the end
> of the lib*.so files' names produces a working JDK.
> 
> I feel something ought to be done (although not by me, I'm
> alone in the dark with the inner beauty of the pkgsrc, me)