[vtkusers] Problems trying to run the VTK RPMs

David Gobbi dgobbi at irus.rri.ca
Thu Aug 16 22:20:13 EDT 2001


Hi Paul,

More than likely, the VTK RPMs were built with an older version
of tcl/tk, i.e. they were meant for a RedHat 6.2 system.

>nm libtk8.3.so | grep tkMainWindowList

but when I go to another machine that has tcl/tk 8.0:

>nm libtk8.0.so | grep tkMainWindowList
[832]   |1610516756|       4|OBJT |GLOB |DEFAULT  |MIPS_DATA|tkMainWindowList

You can try a quick-and-dirty install of the rpm for tcl/tk 8.0
(via rpm -i --oldpackage) but the safest route would be to recompile
VTK on your system.  If you do, the best compiler to use is 2.95.3,
I don't have complete confidence in RedHat's 2.96 compiler or in the
newer 3.0 compiler.

 - David

--
  David Gobbi, MSc                       dgobbi at irus.rri.ca
  Advanced Imaging Research Group
  Robarts Research Institute, University of Western Ontario

On Thu, 16 Aug 2001, Paul Welton wrote:

> I have Red Hat 7.0 and installed the VTK RPMs from the boxed CD,
> thinking that this would be the easiest way to go ... but:
>
> [root at localhost /root]# vtk
> vtk: error while loading shared libraries:
> /usr/lib/libVTKGraphicsTcl.so: undefined symbol: tkMainWindowList
>
> Anyone know how to fix this?
>
> [root at localhost /root]# which vtk
> /usr/bin/vtk
> [root at localhost /root]# ls -rlt /usr/bin/vtk
> -rwxr-xr-x    1 root     root         5280 Jan 23  2001 /usr/bin/vtk
> [root at localhost /root]# echo $LD_LIBRARY_PATH
> /usr/lib
> [root at localhost /root]# echo $SHLIB_PATH
> /usr/lib
> [root at localhost /root]# ls -rlt /usr/lib/libVTK*
> -rwxr-xr-x    1 root     root       795440 Jan 23  2001
> /usr/lib/libVTKCommonTcl.so
> -rwxr-xr-x    1 root     root      1986076 Jan 23  2001
> /usr/lib/libVTKCommon.so
> -rwxr-xr-x    1 root     root       163224 Jan 23  2001
> /usr/lib/libVTKPatentedTcl.so
> -rwxr-xr-x    1 root     root      1026328 Jan 23  2001
> /usr/lib/libVTKPatented.so
> -rwxr-xr-x    1 root     root       894096 Jan 23  2001
> /usr/lib/libVTKImagingTcl.so
> -rwxr-xr-x    1 root     root      4101688 Jan 23  2001
> /usr/lib/libVTKImaging.so
> -rwxr-xr-x    1 root     root      2476752 Jan 23  2001
> /usr/lib/libVTKGraphicsTcl.so
> -rwxr-xr-x    1 root     root      7321656 Jan 23  2001
> /usr/lib/libVTKGraphics.so
> -rwxr-xr-x    1 root     root       392976 Jan 23  2001
> /usr/lib/libVTKContribTcl.so
> -rwxr-xr-x    1 root     root      1842460 Jan 23  2001
> /usr/lib/libVTKContrib.so
>
> I could not find tkMainWindowList in the source code for Tk, but did
> find it in the VTK source file
> "graphics/vtkXRenderWindowTclInteractor.cxx".
>
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>





More information about the vtkusers mailing list