This is probably something you're aware of, but when following the current instructions for installing HDF5 on Linux, CMake can't find the library.
I get the error:
-- Could NOT find HDF5: Found unsuitable version "", but required is exact version "1.8" (found HDF5_LIBRARIES-NOTFOUND;HDF5_CXX_LIBRARIES-NOTFOUND;HDF5_hdf5_cpp_LIBRARY-NOTFOUND;HDF5_hdf5_LIBRARY-NOTFOUND)
I also tried building HDF5 with CMake using the instructions here, and got to extracting the output into /usr/local and setting the HDF5_DIR environment variable, but I ended up with the same error.
I'm not sure whether this means the library was not found at all, or that it just doesn't have version information. It looks like there isn't a version specified when calling target_link_libraries in the CMake examples from HDF5, so maybe the library just doesn't support requesting a specific version.
In any case, I can't really spend more time on this, but someone should find and document a working installation method on Linux.
Edit: This is on Ubuntu version 18.04.2.