[vtkusers] VTK 4.2 Python on Solaris 8:test fail

Mathieu Malaterre Mathieu.Malaterre at creatis.insa-lyon.fr
Fri Nov 14 05:47:17 EST 2003


POUPONNOT Julien wrote:
> Hello,
> 
> (/var/tmp/VTK/Examples/Modelling/Python) # python
> hello.py
> Traceback (most recent call last):
>   File "hello.py", line 5, in ?
>     import vtk
>   File "/var/tmp/VTK/Wrapping/Python/vtk/__init__.py",
> line 7, in ?
>     from common import *
>   File "/var/tmp/VTK/Wrapping/Python/vtk/common.py",
> line 7, in ?
>     from libvtkCommonPython import *
> ImportError: ld.so.1: python: fatal: relocation error:
> file
> /logiciels/public/vtk-4.2/lib/libvtkCommonPython.so:
> symbol cerr: referenced symbol not found


Could you type:

$ldd libvtkCommonPython.so

If it doesn't find 'libstdc++' then you have a *big* problem with your 
installation...

HTH
mathieu
Ps: Maybe you need something like '-lstdc++' with your VTK installation, 
but CMake should do it for you...




More information about the vtkusers mailing list