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

Bug#628153: dcmtk: Please make individual libraries self-contained (no unresolved symbols)

28 views
Skip to first unread message

Michael Hanke

unread,
May 27, 2011, 1:40:02 PM5/27/11
to
Package: dcmtk
Version: 3.6.0-5
Severity: wishlist

Hi,

I'm updating a package to use libdcmtk2-dev and it is a bit difficult,
because several DCMTK libs have unresolved symbols -- they are not fully
linked against their dependencies. This is what happens:

michael@meiner /tmp % cat dcmtktest.cpp
int main () {
return 0;
}

michael@meiner /tmp % g++ -ldcmimgle dcmtktest.cpp
/usr/lib/gcc/i486-linux-gnu/4.4.5/../../../../lib/libdcmimgle.so: undefined reference to `operator!=(OFString const&, char const*)'
/usr/lib/gcc/i486-linux-gnu/4.4.5/../../../../lib/libdcmimgle.so: undefined reference to `OFString::~OFString()'
/usr/lib/gcc/i486-linux-gnu/4.4.5/../../../../lib/libdcmimgle.so: undefined reference to `DcmItem::putAndInsertUint16(DcmTag const&, unsig
<snip long list of unresolved symbols>

I need to complete the list manually:

michael@meiner /tmp % g++ -ldcmimgle -ldcmdata -lofstd -loflog -lpthread -lz dcmtktest.cpp

This makes it quite difficult to deal with upstream configure snippets
that do something like this:

AC_CHECK_LIB(dcmdata,main,LIBS="-ldcmdata $LIBS"; DATALIBS="-ldcmdata $DATALIBS",lib_dcmtk=no)

Which fails, because the test program cannot be linked successfully.

It would be great of all dcmtk libs could be fully linked against all
their actual dependencies.


Thanks.


-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.38-2-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dcmtk depends on:
ii adduser 3.112+nmu2 add and remove users and groups
ii libc6 2.11.2-11 Embedded GNU C Library: Shared lib
ii libdcmtk2 3.6.0-5 The OFFIS DICOM toolkit runtime li
ii libgcc1 1:4.6.0-2 GCC support library
ii libjpeg62 6b1-1 The Independent JPEG Group's JPEG
ii libpng12-0 1.2.44-2 PNG library - runtime
ii libssl1.0.0 1.0.0d-2 SSL shared libraries
ii libstdc++6 4.6.0-2 The GNU Standard C++ Library v3
ii libtiff4 3.9.4-9 Tag Image File Format (TIFF) libra
ii libwrap0 7.6.q-19 Wietse Venema's TCP wrappers libra
ii libxml2 2.7.8.dfsg-2 GNOME XML library
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime

dcmtk recommends no packages.

dcmtk suggests no packages.

-- debconf-show failed

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

0 new messages