[vtkusers] Strange problem with Python

Prabhu Ramachandran prabhu at aero.iitm.ernet.in
Tue Apr 15 12:17:08 EDT 2003

>>>>> "HS" == Harris Scott R Civ <Harris> writes:

    HS> I get this error when my program starts:

    HS> 7, in ?  from libvtkImagingPython import * ImportError:
    HS> /home/scott/VTK/bin/libvtkImagingPython.so: R_PPC_REL24
    HS> relocation at 0x0d9a5d48 for symbol `utterworthHighPassPCc'
    HS> out of range

Hmm, I also dont understand the error.  Here are a few thoughts:

 1. What happens if you try this on an interactive session?

    from libvtkImagingPython import *

 How about ldd on libvtkImagingPython.so?

 2. Do you have different versions of the vtk libraries on your
 system?  Or do you have many copies of the libraries, perhaps the
 linker is confused by some older copies.

 3. Are you doing something funny with sys.path in your application?

 4. Are you doing something funny with threads?  A real shot in the

    HS> I don't see the problem with the 4.2.2 relese. I've compiled
    HS> both 4.2.2 and the CVS version with identical options in
    HS> ccmake.

I assume both crash?  Perhaps the presence of both libs is causing the

Good luck!


More information about the vtkusers mailing list