FAQ #1: All DCMTK tools crash as soon as they are started [gcc]

Frequently Asked Questions regarding DCMTK

Moderator: FAQ Team

Post Reply
Marco Eichelberg
Posts: 1280
Joined: Tue, 2004-11-02, 17:22
Location: Oldenburg, Germany

FAQ #1: All DCMTK tools crash as soon as they are started [gcc]

#1 Post by Marco Eichelberg » Tue, 2004-11-02, 17:54

:?: None of the programs do anything, they all crash as soon as they get started!

:!: We have received reports of configuration problems relating to a GNU C++ library libiostream.a. This library was part of older (pre 2.7 ??) releases and is incompatible with newer versions of the GNU C++ library. It seems that when installing a newer version of the GNU C++ library the old "libiostream.a" library does not get removed. If our configuration scripts find this library then it will be used.

The problem manifests itself by causing any compiled program to immediately crash as soon as it tries to do any C++ streams based I/O.

A workaround is to remove or rename the libiostream.a library. Alternatively, you can edit the file "dcmtk/config/Makefile.def" after install Step 1 (running the configure script) and remove any reference to "libiostream.a".

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest