Skip to content

Bug in autoconf script #63

@jeroen

Description

@jeroen

Statically linking on OSX fails because homebrew builds --with-szip but you are not passing the proper -lsz flag to PKG_LIBS.

We get the correct flags from ${H5CPP} -show which you do call in the configure script. However you are overriding the libs with hardcoded -lhdf5_cpp -lhdf5 -lz -lm which does not include -lsz. Therefore linking fails for hdf5 builds that are configured --with-static.

The fix is simply to just use ${H5CPP} -show in your PKG_LIBS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions