[vtk-developers] VTK Python on Sun

David Gobbi dgobbi at irus.rri.ca
Thu May 2 11:27:28 EDT 2002


On 2 May 2002, Andy Cedilnik wrote:

> Hello!
>
> Any clue about that:
>
> shannara [258] PYTHONPATH=.../VTK-bin/bin:.../VTK/Wrapping/Python
> python1.5
> Python 1.5.2 (#5, May  1 2002, 11:42:34) [C] on sunos5
> Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
> >>> import vtk
> Traceback (innermost last):
>   File "<stdin>", line 1, in ?
>   File "/space/berk/vtknew/Wrapping/Python/vtk/__init__.py", line 7, in
> ?
>     from common import *
>   File "/space/berk/vtknew/Wrapping/Python/vtk/common.py", line 7, in ?
>     from libvtkCommonPython import *
> ImportError: ld.so.1: python1.5: fatal: relocation error: file
> /space/andy/vtk/VTK-bin/bin/libvtkCommonPython.so: symbol
> __1cG__CrunKpure_error6F_v_: referenced symbol not found

Just my guess, but this probably has to do with a C executable (python)
trying to load a C++ .so and failing because the dynamic linker expects
some special C++ symbols to be present in the executable.

If you re-link the python executable with c++ the problem might go away.
I've never compiled VTK/Python under solaris so I don't know if this is
a common problem or not.

I searched for __1cG__CrunKpure_error6F_v_ on google and received 142
hits.  There is probably some useful info there.

 - David




More information about the vtk-developers mailing list