libvtkexpat has undefined reference linking error in Paraview 5.5.0 by default
Seems to be a VTK issue, but it's impacting Paraview 5.5.0 for me. I am seeing a linking error in VTK expat where arc4random_buf
is undefined. I am building on CentOS 7 with GCC 6.2.0. Looking at Paraview 5.4.1 which I can successfully build in the same setting, VTK expat is much different and doesn't have anything involving libbsd there. I've been trying to understand how I can workaround this, but am having trouble getting it to choose the right random number function. I have libbsd available which is supposed to have that symbol. It appears that the libbsd stuff is all forcibly shut off in CMakeLists.txt, but somehow the preprocessor defines are still letting this symbol in.
lib/libvtkexpat-pv5.5.so.1: undefined reference to `arc4random_buf'
collect2: error: ld returned 1 exit status