[Paraview-developers] Compile errors

Ben Boeckel ben.boeckel at kitware.com
Wed Sep 7 09:37:27 EDT 2016


On Wed, Sep 07, 2016 at 01:47:45 +0000, Scott, W Alan wrote:
> I am having compiler errors on redsky with a master pull from this afternoon.  Here is what I see:
> 
> [ 99%] Linking CXX shared library ../../../lib/libvtkPVCatalystPython27D-pv5.1.so
> /projects/viz/paraview/support/Linux-redsky-x86_64/install/hdf5-1.8.13/lib/libhdf5.so.8.0.2: undefined reference to `inflateEnd'
> /projects/viz/paraview/support/Linux-redsky-x86_64/install/hdf5-1.8.13/lib/libhdf5.so.8.0.2: undefined reference to `compress2'
> /projects/viz/paraview/support/Linux-redsky-x86_64/install/hdf5-1.8.13/lib/libhdf5.so.8.0.2: undefined reference to `inflateEnd'
> /projects/viz/paraview/support/Linux-redsky-x86_64/install/hdf5-1.8.13/lib/libhdf5.so.8.0.2: undefined reference to `inflateEnd'
> /projects/viz/paraview/support/Linux-redsky-x86_64/install/hdf5-1.8.13/lib/libhdf5.so.8.0.2: undefined reference to `inflate'
> /projects/viz/paraview/support/Linux-redsky-x86_64/install/hdf5-1.8.13/lib/libhdf5.so.8.0.2: undefined reference to `compress2'
> /projects/viz/paraview/support/Linux-redsky-x86_64/install/hdf5-1.8.13/lib/libhdf5.so.8.0.2: undefined reference to `compress2'
> /projects/viz/paraview/support/Linux-redsky-x86_64/install/hdf5-1.8.13/lib/libhdf5.so.8.0.2: undefined reference to `inflateInit_'
> make[2]: *** [bin/pvdataserver] Error 1
> make[1]: *** [CommandLineExecutables/CMakeFiles/pvdataserver.dir/all] Error 2
> make[1]: *** Waiting for unfinished jobs....
> /projects/viz/paraview/support/Linux-redsky-x86_64/install/hdf5-1.8.13/lib/libhdf5.so.8.0.2: undefined reference to `inflate'
> /projects/viz/paraview/support/Linux-redsky-x86_64/install/hdf5-1.8.13/lib/libhdf5.so.8.0.2: undefined reference to `inflate'
> /projects/viz/paraview/support/Linux-redsky-x86_64/install/hdf5-1.8.13/lib/libhdf5.so.8.0.2: undefined reference to `inflateEnd'
> /projects/viz/paraview/support/Linux-redsky-x86_64/install/hdf5-1.8.13/lib/libhdf5.so.8.0.2: undefined reference to `inflateInit_'
> /projects/viz/paraview/support/Linux-redsky-x86_64/install/hdf5-1.8.13/lib/libhdf5.so.8.0.2: undefined reference to `inflateEnd'
> make[2]: *** [bin/pvrenderserver] Error 1
> make[1]: *** [CommandLineExecutables/CMakeFiles/pvrenderserver.dir/all] Error 2
> /projects/viz/paraview/support/Linux-redsky-x86_64/install/hdf5-1.8.13/lib/libhdf5.so.8.0.2: undefined reference to `inflateInit_'
> /projects/viz/paraview/support/Linux-redsky-x86_64/install/hdf5-1.8.13/lib/libhdf5.so.8.0.2: undefined reference to `compress2'
> make[2]: *** [bin/pvpython] Error 1
> make[1]: *** [CommandLineExecutables/CMakeFiles/pvpython.dir/all] Error 2
> /projects/viz/paraview/support/Linux-redsky-x86_64/install/hdf5-1.8.13/lib/libhdf5.so.8.0.2: undefined reference to `compress2'
> /projects/viz/paraview/support/Linux-redsky-x86_64/install/hdf5-1.8.13/lib/libhdf5.so.8.0.2: undefined reference to `inflate'
> /projects/viz/paraview/support/Linux-redsky-x86_64/install/hdf5-1.8.13/lib/libhdf5.so.8.0.2: undefined reference to `inflateInit_'
> /projects/viz/paraview/support/Linux-redsky-x86_64/install/hdf5-1.8.13/lib/libhdf5.so.8.0.2: undefined reference to `inflate'
> [ 99%] Built target GeodesicMeasurement
> make[2]: *** [bin/pvbatch] Error 1
> make[1]: *** [CommandLineExecutables/CMakeFiles/pvbatch.dir/all] Error 2
> /projects/viz/paraview/support/Linux-redsky-x86_64/install/hdf5-1.8.13/lib/libhdf5.so.8.0.2: undefined reference to `inflateInit_'
> make[2]: *** [bin/pvserver] Error 1
> make[1]: *** [CommandLineExecutables/CMakeFiles/pvserver.dir/all] Error 2

It looks like you're using a system HDF5, but not a system zlib (or HDF5
isn't specifying that it also needs zlib linked too). Also, what version
of CMake are you using? If it is 3.6, does using 3.5 work?

--Ben


More information about the Paraview-developers mailing list