Skip to content

LZMA missing pthread dependency (when linking)

Compiling VTK with BUILD_TESTING ON on Linux would fail (see error sample below).

[ 62%] Linking C executable ../../../../bin/TestXMLCInterface ../../../../lib/libvtklzma-9.0.so.1: error: undefined reference to 'pthread_sigmask' ../../../../lib/libvtklzma-9.0.so.1: error: undefined reference to 'pthread_create' ../../../../lib/libvtklzma-9.0.so.1: error: undefined reference to 'pthread_join'

Merge request reports