[Debian-med-packaging] Bug#572131: Bug#572131: libinsighttoolkit3-dev: built against tcl8.4 but vtk is against 8.5

Mathieu Malaterre mathieu.malaterre at gmail.com
Mon Mar 1 23:37:01 UTC 2010

On Mon, Mar 1, 2010 at 7:49 PM, Michal Suchanek <hramrach at centrum.cz>
<michal.suchanek at ruk.cuni.cz> wrote:
> Package: libinsighttoolkit3-dev
> Version: 3.16.0-1j
> Severity: normal
> Hello
> I tried building InsightApplications against the Debian packages
> libvtk5-dev and libinsighttoolkit3-dev but the build is failing to
> locate the tcl headers`.
> After adding CFLAGS I got error that /usr/lib/libtcl8.5.so cannot be
> built. It looks like tcl 8.5 is used by vtk but 8.4 by vtk which does
> not fit together well.

Could you please copy/paste the *exact* compilation error.
I believe this is due to the fact that CMake does transitive linking.
If a library Foo links against libtcl8.5.so.0, there are cases where
cmake will try to link to both -lFoo and -ltcl8.5 when -lFoo only is

As a simple work-around one need to install the -dev package for tcl8.5


More information about the Debian-med-packaging mailing list