This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
> Full Name: Ashutosh Sharma
> Email Address: address@hidden
> Organization: Liverpool Hope University
> Package Version:
> Operating System:
> Hardware:
> Description of problem: Hi, I cannot install netcdf and getting error during
> make. Please help
>
>
Howdy Sharma!
From your make output:
*** Checking HDF5 deflate filter setting and getting...Sorry! Unexpected
result, tst_h_vars.c, line: 228
HDF5-DIAG: Error detected in HDF5 (1.8.3) thread 0:
#000: H5Z.c line 1283 in H5Zget_filter_info(): Filter not defined
major: Invalid arguments to routine
minor: Bad value
#001: H5Z.c line 933 in H5Z_find(): required filter is not registered
major: Data filters
minor: Object not found
You need to get HDF5-1.8.4, and you need to configure it with the --with-zlib=
option to tell it where to find the zlib library.
Then rebuild the netCDF library and this problem will go away.
Without the zlib library, HDF5 cannot support on-the-fly compression of data,
which netCDF-4 uses.
Thanks,
Ed
Ticket Details
===================
Ticket ID: JPX-285366
Department: Support netCDF
Priority: Normal
Status: Closed