Skip to content
This repository was archived by the owner on Sep 10, 2020. It is now read-only.
This repository was archived by the owner on Sep 10, 2020. It is now read-only.

HDF5 library not found on Linux #2

@ethanbb

Description

@ethanbb

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions