pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/27545: the package sun-1.5 does not work at all
>Number: 27545
>Category: pkg
>Synopsis: the package sun-1.5 does not work at all
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: pkg-manager
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Oct 27 08:28:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Florence HENRY
>Release: NetBSD 2.0_RC4 (GENERIC)
>Organization:
Observatoire de Paris
>Environment:
NetBSD otarie.obspm.fr 2.0_RC4 NetBSD 2.0_RC4 (GENERIC) #4: Wed Oct 20 16:56:13
CEST 2004
root%otarie.obspm.fr@localhost:/usr/obj/sys/arch/i386/compile/GENERIC i386
>Description:
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 :
/usr/pkg/java/sun-1.5/lib/i386/native_threads/libhpi.so*
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 :
JAVA_HOME=/usr/pkg/java/sun-1.5
JVM_HOME=/usr/pkg/java/sun-1.5
CLASSPATH=/usr/pkg/java/sun-1.5/jre/lib/rt.jar:.
>How-To-Repeat:
execute the java binary
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index