Public bug reported: When starting dicomscope, it immediately aborts with the following message printed to the console:
$ dicomscope starting DICOMscope please wait... Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/lib/libjInterface.so: /usr/lib/libdcmtls.so.2: undefined symbol: _ZTI22DcmTransportConnection at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1750) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1675) at java.lang.Runtime.loadLibrary0(Runtime.java:840) at java.lang.System.loadLibrary(System.java:1047) at main.MainContext.<clinit>(MainContext.java:58) at dicomscope.DICOMscope.main(DICOMscope.java:91) What I've found so far is: The missing symbol is: $ c++filt _ZTI22DcmTransportConnection typeinfo for DcmTransportConnection Which is indeed undefined in libdcmtls: $ objdump -CT /usr/lib/libdcmtls.so.2 | grep "typeinfo for DcmTransportConnection" 00000000 D *UND* 00000000 typeinfo for DcmTransportConnection And defined in libdcmnet: $ objdump -CT /usr/lib/libdcmnet.so.2 | grep "typeinfo for DcmTransportConnection" 000d468c w DO .data.rel.ro 00000008 Base typeinfo for DcmTransportConnection But since libdcmtls does not "need" libdcmnet: $ objdump -x /usr/lib/libdcmtls.so.2 | grep NEEDED NEEDED libgcc_s.so.1 NEEDED libc.so.6 libdcmnet is not loaded when libdcmtls is, and so the start fails. I have confirmed this by compiling the affected libraries myself and linking them with the correct dependencies, with which dicomscope starts and works. System info: $ lsb_release -rd Description: Ubuntu 11.10 Release: 11.10 $ apt-cache policy dicomscope dicomscope: Installed: 3.6.0-6.1 Candidate: 3.6.0-6.1 Version table: *** 3.6.0-6.1 0 500 http://de.archive.ubuntu.com/ubuntu/ oneiric/universe i386 Packages 100 /var/lib/dpkg/status $ apt-cache policy libdcmtk2 libdcmtk2: Installed: 3.6.0-6ubuntu1 Candidate: 3.6.0-6ubuntu1 Version table: *** 3.6.0-6ubuntu1 0 500 http://de.archive.ubuntu.com/ubuntu/ oneiric/universe i386 Packages 100 /var/lib/dpkg/status $ apt-cache policy openjdk-6-jre openjdk-6-jre: Installed: 6b23~pre11-0ubuntu1.11.10.2 Candidate: 6b23~pre11-0ubuntu1.11.10.2 Version table: *** 6b23~pre11-0ubuntu1.11.10.2 0 500 http://de.archive.ubuntu.com/ubuntu/ oneiric-updates/main i386 Packages 500 http://security.ubuntu.com/ubuntu/ oneiric-security/main i386 Packages 100 /var/lib/dpkg/status 6b23~pre10-0ubuntu5 0 500 http://de.archive.ubuntu.com/ubuntu/ oneiric/main i386 Packages ** Affects: dicomscope (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/960022 Title: dicomscope fails to start with "undefined symbol" error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dicomscope/+bug/960022/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs