I've built vtk 5.0.4 from source (which entailed building tcl/tk and cmake) on OpenSUSE 10.1, 64-bit. I enabled BUILD_SHARED_LIBS but left VTK_USE_RPATH disabled, since I planned to move the binaries after they were built.<br>
<br>The problem is this:<br><br>./vtk: error while loading shared libraries: libvtkCommonTCL.so.5.0: cannot open shared object file: No such file or directory<br><br>I do not have root, so it seems my only options center on altering the environment. However, my LD_LIBRARY_PATH was empty before I added the lib directory containing the vtk binaries, which seemed odd. Changing LD_LIBRARY_PATH had no effect.<br>
<br>Adding the lib directory to the PATH had no noticeable effect, either.<br><br>Does anyone know how to configure the environment to get the loader to find the shared libraries? I've included an excerpt from "ldd ./vtk" below.<br>
<br>Thanks,<br>Warren Moore<br>Student<br>University of Florida<br><br>ldd ./vtk<br> libvtkCommonTCL.so.5.0 => not found<br> libvtkFilteringTCL.so.5.0 => not found<br> libvtkGraphicsTCL.so.5.0 => not found<br>
libvtkImagingTCL.so.5.0 => not found<br> libvtkIOTCL.so.5.0 => not found<br> libvtkRenderingTCL.so.5.0 => not found<br> libvtkVolumeRenderingTCL.so.5.0 => not found<br> libvtkHybridTCL.so.5.0 => not found<br>
libvtkWidgetsTCL.so.5.0 => not found<br> libvtkVolumeRendering.so.5.0 => not found<br> libvtkWidgets.so.5.0 => not found<br> libvtkHybrid.so.5.0 => not found<br> libvtkexoIIc.so.5.0 => not found<br>
libvtkNetCDF.so.5.0 => not found<br> libvtkRendering.so.5.0 => not found<br> libvtkftgl.so.5.0 => not found<br> libvtkfreetype.so.5.0 => not found<br> libGL.so.1 => /usr/lib64/libGL.so.1 (0x00002b04ba8ff000)<br>
libXt.so.6 => /usr/X11R6/lib64/libXt.so.6 (0x00002b04baa7e000)<br> libSM.so.6 => /usr/X11R6/lib64/libSM.so.6 (0x00002b04babdf000)<br> libICE.so.6 => /usr/X11R6/lib64/libICE.so.6 (0x00002b04bace9000)<br>
<br><-- snip --><br>