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

Does not build on Manjaro #1978

Closed
gdkrmr opened this issue Apr 9, 2021 · 6 comments
Closed

Does not build on Manjaro #1978

gdkrmr opened this issue Apr 9, 2021 · 6 comments

Comments

@gdkrmr
Copy link

gdkrmr commented Apr 9, 2021

On current manjaro v4.8.0 does not configure:

-- Found HDF5 libraries version 1.12.0
-- Using HDF5 include dir: /usr/include
-- HDF5 has szip.
CMake Error at CMakeLists.txt:794 (MESSAGE):
  /usr/lib/libhdf5.so does not contain symbol '_H5Literate'.  Please
  recompile your libhdf5 install using '--with-default-api-version=v18'.
@WardF
Copy link
Member

WardF commented Apr 9, 2021

It looks like your libhdf5 was not built with a default-api-version of v18. I am investigating a current pull request, #1973, that may correct this, but in the meantime you may need to install libhdf5 by hand, configuring it with --with-default-api-version-v18.

@WardF WardF closed this as completed Apr 9, 2021
@opoplawski
Copy link
Contributor

You should also be able to compile netcdf with CPPFLAGS=-DH5_USE_110_API

@gdkrmr
Copy link
Author

gdkrmr commented Apr 12, 2021

That worked! Thanks!

@gdkrmr
Copy link
Author

gdkrmr commented Apr 12, 2021

I get one failed test, should I open a bug report?

Compiled with CPPFLAGS=-DH5_USE_110_API ENABLE_NCZARR=1 and cmake

149/203 Test #149: tst_h_atts3 ...........................***Failed    0.02 sec
        Start 150: tst_h_atts4

@opoplawski
Copy link
Contributor

There already is one - #1971

@srikar-iist
Copy link

srikar-iist commented Aug 15, 2021

Trying to install WRF 4.3 :

tried for hdf5 - 1.12.1 with netcdf - 4.8.0 :

Getting the same error : configure: error: HDF5 was not built with API compatibility version v18. Please recompile your libhdf5 install using '--with-default-api-version=v18'.

when I changed the CPPFLAGS=-DH5_USE_110_API

getting another error : configure: error: Compiling a test with HDF5 failed. Either hdf5.h cannot be found, or config.log should be checked for other reason.

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

4 participants