protobuf unable to find library
protoc: error while loading shared libraries: libprotoc.so.3.8.0.0: cannot open shared object file: No such file or directory
.
When building the superbuild with protobuf enabled I always had to set my LD_LIBRARY_PATH to find the protobuf library in install/lib64 so ParaView would build. The problem is the version of protobuf being used sets RUNPATH to $ORIGIN/../lib
instead of $ORIGIN/../${CMAKE_INSTALL_LIBDIR}
. The paraview-superbuild doesn't have this problem because it is using a newer version with this fix in it.
v3.8.0 used by CMB-SB
Looks like this got fixed in version 3.9.0
FYI: @ben.boeckel
Edited by chart3388