[vtkusers] libvtkCommon.so

Thomas Wolfanger t.wolfanger at tlt.de
Wed Nov 5 12:07:28 EST 2003


Hello,

I'm using vtk 4.2.1 and python on a debian woody (knoppix) system.
The problem occurs when I try to import vtk:

Python 2.3.2 (#2, Oct  6 2003, 08:02:06)
[GCC 3.3.2 20030908 (Debian prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import vtk
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/python2.3/site-packages/vtk_python/vtk/__init__.py",
line 7, in ?
    from common import *
  File "/usr/lib/python2.3/site-packages/vtk_python/vtk/common.py", line
7, in ?
    from libvtkCommonPython import *
ImportError: libvtkCommon.so: cannot open shared object file: No such
file or directory
>>>

The strange thing about it is: libvtkCommon.so does not exist on my
system, only libvtkCommon.so.4.2. It is located in /usr/lib, so the
linker should find it. I noticed that normally, all libs have links to
<libname>.so, and these seem to be created automatically. Why are the
corresponding links not created for the libvtk*?
Is this the reason for the problem I have or am I totally wrong?

Greetings, 
Thomas





More information about the vtkusers mailing list