The problem is - as far as I understand it - that some dcmtk libraries
(libdcmtls in the example) use symbols from other libraries (i.e.
libdcmnet), but are not linked against them.

Because of that, the java library-loader does not know it also needs to
load dcmnet when it loads dcmtls.

Basically, all that is needed specifying the required libraries with the
"-l" linker flag when compiling the dcmtk libs. One can use "--Xlinker
--no-undefined" to enforce that all required libraries are listed.

I verified this by recompiling some of the libraries by hand. Sadly I
have no clue about cmake and don't know how to fix the dcmtk build
process.

-- 
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

Reply via email to