[vtkusers] Building VTK on Gnu/Debian errors

fred fredmfp at gmail.com
Mon Sep 11 12:05:26 EDT 2006


Xiaobin Wang a écrit :

> Hi,
> Thank you for keeping on help me about building vtk.
> I installed mayavi (apt-get install) ,and configure vtk ,make and make
> install .
> This time  no errors came out .I am very happy about it .
>
> However , when I try to complie a program using vtk libararies ,new
> problem
> comes .
> Compiling and linking seem good ,no errors at all.
> But when I run the generated executable , it tells me "error while
> loading shared libraries: libvtkCommon.so.5.0: cannot open shared
> object file,no
> such file or directory" . I check in /usr/local/lib/
> ,libvtkCommon.so.5.0 is there and all users have permission to access
> it . So I wonder why it produces such
> error information and how to overcome .


Check your LD_LIBRARY_PATH environment variable.
It should contain /usr/local/lib.

-- 
« Python, c'est un peu comme la baïonnette en 14, faut toujours sortir avec,
et pas hésiter d'en mettre un coup en cas de besoin. »
J.-Ph. D.




More information about the vtkusers mailing list