Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in autoconf script #63

Open
jeroen opened this issue Oct 2, 2017 · 0 comments
Open

Bug in autoconf script #63

jeroen opened this issue Oct 2, 2017 · 0 comments

Comments

@jeroen
Copy link

jeroen commented Oct 2, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant