libvtkIOXdmf3: undefined symbol: _ZN16XdmfSparseMatrix7setNameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
I've had long-standing trouble doing import vtk
when Xdmf3 is enabled. I'd usually get
>>> import vtk
# [...]
ImportError: No module named vtkIOXdmf3Python
To do some digging, I cd'd into /usr/lib/python2.7/dist-packages/vtk
and imported vtkIOXdmf3Python:
python -c "import vtkIOXdmf3Python"
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: /usr/lib/x86_64-linux-gnu/libvtkIOXdmf3-6.3.so.6.3: undefined symbol: _ZN16XdmfSparseMatrix7setNameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE