[vtkusers] pb compil VTK4.x on SGI

Jean-Christophe Penalva penalva at cines.fr
Mon Jul 7 07:22:37 EDT 2003


  Hello,

  after a success compil and install of VTK (last version from cvs), i have a
pb  with python. If i try :
$ python -c "import vtk"
Traceback (most recent call last):
  File "<string>", line 1, in ?
  File "/tmpp/penalva/VTK/Wrapping/Python/vtk/__init__.py", line 22, in ?
    from common import *
  File "/tmpp/penalva/VTK/Wrapping/Python/vtk/common.py", line 7, in ?
    from libvtkCommonPython import *
ImportError: 706993:python: rld: Fatal Error: unresolvable symbol in
/usr/local/vtk/lib/vtk/libvtkCommon.so: __mp_sug_numthreads
$ 

  I use CMAKE_THREAD_LIBS=-lpthread and CMAKE_USE_SPROC=OFF. My environment is :

PYTHONPATH=/tmpp/penalva/VTK/Wrapping/Python:/usr/local/vtk/lib/vtk
LD_LIBRARY_PATH=/usr/local/vtk/lib/vtk

  i use the SGI compiler (not the gnu). Any idea ?

  Thank you

###################################################################### 
Jean-Christophe Penalva 
Centre Informatique National de l'Enseignement Superieur (CINES) 
Montpellier, FRANCE
Tel : 33 4 67 141414    Fax : 33 4 67 523 763
http://www.cines.fr/




More information about the vtkusers mailing list