From: olipt at mayo.edu (Travis Oliphant)
Date: Fri, 30 Apr 1999 23:11:18 -0500
Subject: Vtk works fine, but not with Python ... ???
In-Reply-To: <ltiuad33w5.fsf@asfast.com>
References: <ltiuad33w5.fsf@asfast.com>
Message-ID: <Pine.LNX.4.04.9904302310010.9065-100000@us2.mayo.edu>
X-UID: 1920                                                 

> I'm using Python 1.5.2 under RedHat Linux 5.0.  I have recently
> downloaded and built vtk, including the Python wrappers.  I have
> followed the instructions given on the vtk web site (summarized
> below), and the result is a version of vtk which works fine under tcl
> and as a stand-alone.  All example scripts I try to run via vtk work
> perfectly.
> 
> However, when I try to run any vtk Python examples, I get the
> following error no matter what script I try to run:
> 
>   % python earth.py
>   Traceback (innermost last):
>     File "earth.py", line 4, in ?
>       from libVTKGraphicsPython import *
>   ImportError: /usr/local/lib/python1.5/lib-dynload/libVTKGraphicsPython.so:
>       undefined symbol: XtStrings

No ideas but I'm in the same boat and get the same error, this under
Redhat 5.2.

I'd love to hear from somebody who's fixed this problem.








