Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#790046: dicomscope: no jInterface in java.library.path

10 views
Skip to first unread message

Jon Daley

unread,
Jun 26, 2015, 11:40:03 AM6/26/15
to
Package: dicomscope
Version: 3.6.0-11
Severity: normal

Dear Maintainer,

I just installed dicomscope, I've never used it before, so it easily could be an operator error.

I typed `dicomscope`, and got:
/media/cdrom/DICOM>dicomscope
starting DICOMscope
please wait...
Exception in thread "main" java.lang.UnsatisfiedLinkError: no jInterface in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1709)
at java.lang.Runtime.loadLibrary0(Runtime.java:844)
at java.lang.System.loadLibrary(System.java:1051)
at main.MainContext.<clinit>(MainContext.java:58)
at dicomscope.DICOMscope.main(DICOMscope.java:91)

I see bug #731778, which looks relevant, but when I try some advice from that thread, I get different results.
> java -Djava.library.path=/usr/lib/x86_64-linux-gnu/jni -jar /usr/bin/dicomscope
Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/lib/x86_64-linux-gnu/jni/libjInterface.so: /usr/lib/x86_64-linux-gnu/jni/libjInterface.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1703)
at java.lang.Runtime.loadLibrary0(Runtime.java:844)
at java.lang.System.loadLibrary(System.java:1051)
at main.MainContext.<clinit>(MainContext.java:58)
at dicomscope.DICOMscope.main(DICOMscope.java:91)

My jexec does run, unlike message #30 on that thread.

I do not have a javac currently on the system, so I can't test that part.

-- System Information:
Debian Release: 8.0
APT prefers testing
APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dicomscope depends on:
ii default-jre 2:1.7-52
ii jarwrapper 0.50
ii libc6 2.19-13
ii libdcmtk2 3.6.0-15+b1
ii libgcc1 1:4.9.1-19
ii libstdc++6 4.9.1-19
ii tk8.6 8.6.4+dfsg-2

dicomscope recommends no packages.

dicomscope suggests no packages.

-- no debconf information


--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Markus Koschany

unread,
Jul 4, 2015, 7:50:03 AM7/4/15
to
Control: tags -1 moreinfo

On Fri, 26 Jun 2015 11:23:05 -0400 Jon Daley <deb...@jon.limedaley.com>
wrote:
> Package: dicomscope
> Version: 3.6.0-11
> Severity: normal
>
> Dear Maintainer,
>
> I just installed dicomscope, I've never used it before, so it easily could be an operator error.
>
> I typed `dicomscope`, and got:
> /media/cdrom/DICOM>dicomscope
> starting DICOMscope
> please wait...
> Exception in thread "main" java.lang.UnsatisfiedLinkError: no jInterface in java.library.path
> at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1709)
> at java.lang.Runtime.loadLibrary0(Runtime.java:844)
> at java.lang.System.loadLibrary(System.java:1051)
> at main.MainContext.<clinit>(MainContext.java:58)
> at dicomscope.DICOMscope.main(DICOMscope.java:91)


Hello,

are you sure you have installed the amd64 OpenJDK runtime environment,
not the i386 one? I can't reproduce this issue on amd64. Your system
also doesn't seem to be up-to-date because jarwrapper's version in
testing is 0.52 already.

Regards,

Markus

signature.asc
0 new messages