[vtkusers] Python mismatch error on IRIX

Randy Heiland heiland at ncsa.uiuc.edu
Wed Jan 15 13:57:43 EST 2003


After a long absence from VTK on IRIX, I've returned to try to help a coworker
(and am remembering why I left in the first place :).  In short, I'm getting
this error:

% cd VTK/bin
% python
Python 2.2.2 (#1, Jan 15 2003, 07:20:16) [C] on irix646-64
Type "help", "copyright", "credits" or "license" for more information.
>>> from libvtkCommonPython import *
Fatal Python error: Interpreter not initialized (version mismatch?)
Abort (core dumped)

I'm using:

IRIX 6.5, 64-bit
vtk40Src.tar
Python2.2.2

I built Python - static lib, no threads, and VTK - with just Python wrapping
(using MIPSpro cc,CC, Version 7.30)

I'm convinced I did not build VTK w/ a different Python than the one I'm using
to execute.  Googling for this type of error, I see mention of a problem with
threads, so my last build was threadless.  I've about run out of guesses.

FWIW, here's the ldd (see, no threads):
% ldd libvtkCommonPython.so
        libm.so  =>      /usr/lib64/libm.so
        libvtkCommon.so  =>      <path>/VTK/bin/libvtkCommon.so
        libCsup.so  =>   /usr/lib64/libCsup.so
        libC.so.2  =>    /usr/lib64/libC.so.2
        libc.so.1  =>    /usr/lib64/libc.so.1

ldd libvtkCommon.so
        libm.so  =>      /usr/lib64/libm.so
        libCsup.so  =>   /usr/lib64/libCsup.so
        libC.so.2  =>    /usr/lib64/libC.so.2
        libc.so.1  =>    /usr/lib64/libc.so.1


Any suggestions?

thanks,
Randy



More information about the vtkusers mailing list