Subject: pkg/27545: the package sun-1.5 does not work at all
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <firstname.lastname@example.org>
Date: 10/27/2004 08:27:02
>Synopsis: the package sun-1.5 does not work at all
>Arrival-Date: Wed Oct 27 08:28:00 UTC 2004
>Originator: Florence HENRY
>Release: NetBSD 2.0_RC4 (GENERIC)
Observatoire de Paris
NetBSD otarie.obspm.fr 2.0_RC4 NetBSD 2.0_RC4 (GENERIC) #4: Wed Oct 20 16:56:13 CEST 2004 email@example.com:/usr/obj/sys/arch/i386/compile/GENERIC i386
Once installed through the pkgsrc, java does not work at all.
A simple "java -version" gives me : <<There was an error trying to
initialize the HPI library.>>. The same error message appears each
time the java binary is called.
A ktrace shows that java does not find libhpi.so :
3010 java NAMI "/emul/linux/usr/native_threads/libhpi.so"
3010 java NAMI "/usr/native_threads/libhpi.so"
3010 java RET open -1 errno -2 No such file or directory 3010
3010 java CALL write(1,0xbfbfcaa0,0x39)
3010 java GIO fd 1 wrote 57 bytes
"There was an error trying to initialize the HPI library.
This file does exist in :
When I make a symbolic link of this file in a place where java is
searching it, the same "java -version" fails with :
<< Error occurred during initialization of VM
Unable to load native library: /usr/libjava.so: cannot open shared
object file: No such file or directory >>
So I think that there is a problem of path somewhere, but which
environment variable is to be set to solve this problem ?
Note that I do have those environment variable :
execute the java binary