<div class="gmail_quote">On Sun, May 8, 2011 at 7:52 PM, Luca Penasa <span dir="ltr"><<a href="mailto:luca.penasa@gmail.com">luca.penasa@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I am trying to get vtk working without a system installation. So i have<br>
configured and compiled vtk from source. I put all executables<br>
in /home/luca/apps/ and installation process finished without any error<br>
but trying to import vtk from python raises this error:<br>
<br>
ImportError: libvtkCommonPythonD.so.5.9: cannot open shared object file:<br>
No such file or directory<br>
<br>
The vtk librariy, not in a system path, cannot be found. Should i add<br>
the directory /home/luca/apps/lib64 to the system path? i think it is<br>
not a great idea, couse i have another vtk version compiled and running<br>
on my system (as system-wide installation).<br>
<br>
Any idea??<br>
<br>
Thank you<br></blockquote><div><br> I've always done it by setting LD_LIBRARY_PATH
as shown here: <a href="http://www.cmake.org/Wiki/VTK/Tutorials/PythonEnvironmentSetup">http://www.cmake.org/Wiki/VTK/Tutorials/PythonEnvironmentSetup</a><br><br>However, I guess I've never wanted to different versions at the same time so I don't know the ramifications of doing that.<br>
<br>David</div></div>