Python / VTK problem

Greg Wilson gvwilson at
Fri Jun 25 09:41:53 EDT 1999

Hi, folks.  I've just downloaded, compiled, and installed VTK 2.3, and
for the first time, I've
built with Python extensions enabled.  Unfortunately, while I can run
the Tcl examples, I
can't get the Python examples to run.  The command 'python' (or
similar) produces:

  Traceback (innermost last):
    File "./", line 2, in ?
      from libVTKGraphicsPython import *
ImportError: /home/gvwilson/lib/ undefined
symbol: XtStrings

The symbols XtStrings is defined in /usr/X11R6/lib/ (I'm on Red
Hat Linux).  The directory
/usr/X11R6/lib is in my LD_LIBRARY_PATH and in my PYTHONPATH, as is
(which contains symbolic links to the VTK .so's).  I'd be grateful to
anyone who can tell me what I'm
doing wrong.
(p.s. I'd also be grateful if you'd reply by direct email to g v w i l s
o n @ n e v e x . c o m)

More information about the Python-list mailing list