[vtkusers] VTK + Python on Solaris
Prabhu Ramachandran
prabhu at aero.iitm.ernet.in
Mon Aug 4 21:40:26 EDT 2003
Hi,
>>>>> "ECC" == Craig C Epifanio writes:
ECC> I am trying to build VTK 4.2.2 with Python 2.2.2 on Solaris 8
ECC> so that I can try out the MayaVi visualization code. I have
ECC> sucessfully managed to compile VTK and both the c++ and tcl
ECC> examples run beautifully for the most part. But when I try
ECC> to use python I get the following error:
ECC> ImportError: ld.so.1: python: fatal: relocation error: file
ECC> /usr/local/src/VTK-4.2.2/bin/libvtkCommonPython.so: symbol
ECC> __1cDstdMbasic_string4Ccn0ALchar_traits4Cc__n0AJallocator4Cc___J__nullref_:
ECC> referenced symbol not found
[snip]
I'm not sure this will help but does it work when you use the
vtkpython interpreter instead of the Python interpreter? There should
be a vtkpython executable that is built inside the bin directory.
This binary was created specifically to help with problems such as
these.
cheers,
prabhu
More information about the vtkusers
mailing list