If you add /usr/lib/paraview to LD_LIBRARY_PATH does it work?<div><br></div><div><br><div class="gmail_quote">On Tue, Jan 18, 2011 at 2:44 PM, Mr. M. <span dir="ltr"><<a href="mailto:newsboost@gmail.com">newsboost@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Dear all<br>
<br>
Please bear over with me, but I've tried to google for the following error messages and have seen that other people have the same problem as me (but the threads have been unanswered). I hope somebody can help me avoid this error:<br>
<br>
-------------------<br>
$ python<br>
Python 2.6.6 (r266:84292, Sep 15 2010, 16:22:56)<br>
[GCC 4.4.5] on linux2<br>
Type "help", "copyright", "credits" or "license" for more information.<br>
>>> from sys import path<br>
>>> path.append('/usr/lib/paraview')<br>
>>> from paraview.simple import *<br>
Traceback (most recent call last):<br>
File "<stdin>", line 1, in <module><br>
File "/usr/lib/pymodules/python2.6/paraview/simple.py", line 39, in <module><br>
import servermanager<br>
File "/usr/lib/pymodules/python2.6/paraview/servermanager.py", line 43, in <module><br>
import paraview, re, os, new, sys, vtk<br>
File "/usr/lib/pymodules/python2.6/paraview/vtk/__init__.py", line 4, in <module><br>
from libvtkCommonPython import *<br>
ImportError: libvtkCommonPythonD.so.pv3.8: cannot open shared object file: No such file or directory<br>
>>><br>
-------------------<br>
<br>
But it's not true - I've have the file it's looking for:<br>
<br>
martin@MEK-404-MFJO-01:~$ locate libvtkCommonPythonD.so<br>
/usr/lib/paraview/libvtkCommonPythonD.so<br>
/usr/lib/paraview/libvtkCommonPythonD.so.pv3.8<br>
<br>
<br>
???<br>
<br>
I know somebody who's running Ubuntu 10.04 and doesn't have this problem so I think the problem is related to something that has changed between these two versions...<br>
<br>
Please advice - any suggestions are most welcome...<br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</blockquote></div><br></div>