I&#39;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.&nbsp; However, my LD_LIBRARY_PATH was empty before I added the lib directory containing the vtk binaries, which seemed odd.&nbsp; 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&#39;ve included an excerpt from &quot;ldd ./vtk&quot; below.<br>
<br>Thanks,<br>Warren Moore<br>Student<br>University of Florida<br><br>ldd ./vtk<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libvtkCommonTCL.so.5.0 =&gt; not found<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libvtkFilteringTCL.so.5.0 =&gt; not found<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libvtkGraphicsTCL.so.5.0 =&gt; not found<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libvtkImagingTCL.so.5.0 =&gt; not found<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libvtkIOTCL.so.5.0 =&gt; not found<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libvtkRenderingTCL.so.5.0 =&gt; not found<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libvtkVolumeRenderingTCL.so.5.0 =&gt; not found<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libvtkHybridTCL.so.5.0 =&gt; not found<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libvtkWidgetsTCL.so.5.0 =&gt; not found<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libvtkVolumeRendering.so.5.0 =&gt; not found<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libvtkWidgets.so.5.0 =&gt; not found<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libvtkHybrid.so.5.0 =&gt; not found<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libvtkexoIIc.so.5.0 =&gt; not found<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libvtkNetCDF.so.5.0 =&gt; not found<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libvtkRendering.so.5.0 =&gt; not found<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libvtkftgl.so.5.0 =&gt; not found<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libvtkfreetype.so.5.0 =&gt; not found<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libGL.so.1 =&gt; /usr/lib64/libGL.so.1 (0x00002b04ba8ff000)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libXt.so.6 =&gt; /usr/X11R6/lib64/libXt.so.6 (0x00002b04baa7e000)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libSM.so.6 =&gt; /usr/X11R6/lib64/libSM.so.6 (0x00002b04babdf000)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libICE.so.6 =&gt; /usr/X11R6/lib64/libICE.so.6 (0x00002b04bace9000)<br>
<br>&lt;-- snip --&gt;<br>