Undefined symbol at runtime when compiling static python3
HI,
I am having an error at runtime after compiling paraview with python:
./bin/paraview
./bin/paraview: symbol lookup error: [REDACTED]/paraview-test/build/bin/../lib/libvtkRenderingMatplotlib-pv5.11.so.1: undefined symbol: PyTuple_Type
OS: ubuntu 20.04
On master
at 53257ab2 using:
cmake -DPARAVIEW_USE_PYTHON=ON -DPARAVIEW_USE_MPI=ON -DVTK_SMP_IMPLEMENTATION_TYPE=TBB -DCMAKE_BUILD_TYPE=Release ..
By default CMake find my locally compiled python in usr/local
(which is static by default following python doc).
Working with python dynamic lib in /usr
(shipped with ubuntu in /usr/lib/x86_64-linux-gnu/libpython3.8.so.1.0
). Dynamic lib is automatically used by CMake in that case.
-DPython3_EXECUTABLE=/usr/bin/python3
additional files: pv-python-dynamic.log pv-python-static.log
Thanks,