[vtkusers] Shared library loading error (OpenSUSE 10.1)

Warren Moore wcmiii at gmail.com
Thu Jan 31 11:41:01 EST 2008


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.

The problem is this:

./vtk: error while loading shared libraries: libvtkCommonTCL.so.5.0: cannot
open shared object file: No such file or directory

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.

Adding the lib directory to the PATH had no noticeable effect, either.

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.

Thanks,
Warren Moore
Student
University of Florida

ldd ./vtk
        libvtkCommonTCL.so.5.0 => not found
        libvtkFilteringTCL.so.5.0 => not found
        libvtkGraphicsTCL.so.5.0 => not found
        libvtkImagingTCL.so.5.0 => not found
        libvtkIOTCL.so.5.0 => not found
        libvtkRenderingTCL.so.5.0 => not found
        libvtkVolumeRenderingTCL.so.5.0 => not found
        libvtkHybridTCL.so.5.0 => not found
        libvtkWidgetsTCL.so.5.0 => not found
        libvtkVolumeRendering.so.5.0 => not found
        libvtkWidgets.so.5.0 => not found
        libvtkHybrid.so.5.0 => not found
        libvtkexoIIc.so.5.0 => not found
        libvtkNetCDF.so.5.0 => not found
        libvtkRendering.so.5.0 => not found
        libvtkftgl.so.5.0 => not found
        libvtkfreetype.so.5.0 => not found
        libGL.so.1 => /usr/lib64/libGL.so.1 (0x00002b04ba8ff000)
        libXt.so.6 => /usr/X11R6/lib64/libXt.so.6 (0x00002b04baa7e000)
        libSM.so.6 => /usr/X11R6/lib64/libSM.so.6 (0x00002b04babdf000)
        libICE.so.6 => /usr/X11R6/lib64/libICE.so.6 (0x00002b04bace9000)

<-- snip -->
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080131/9242bc91/attachment.htm>


More information about the vtkusers mailing list