-
Attempting to configure netcdf-4.9.2 with Autotools such that --disable-shared Is there a set of options I can use to eliminate that dependency? Does the configure step always include that library when found regardless of whether it's needed? EDIT: building with gcc 10.3.0 |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 10 replies
-
This appears to be an oversight on our end; it is very rare that At current, you may be able to work around this by editing the Not ideal, I know, but it will be the quickest way. I'll try to get a fix for this in for the upcoming |
Beta Was this translation helpful? Give feedback.
-
I've opened a PR here: #2793 |
Beta Was this translation helpful? Give feedback.
-
We specifically require that zlib always be present for netCDF-4. That is, we do not cope well without zlib. So there is no built-in handling of netcdf without zlib. This is really a mistake on my part, I just never understood (until quite recently) that HDF5 could be built without zlib. But it can. So making it work might take a little more effort than you expect... |
Beta Was this translation helpful? Give feedback.
-
But as far as I know, HDF5 does not use libzip, it only requires zlib. |
Beta Was this translation helpful? Give feedback.
This appears to be an oversight on our end; it is very rare that
libzip
won't be needed to be linked against, but in situations such as yours, that should be possible. Thank you for pointing out this gap in our build system.At current, you may be able to work around this by editing the
configure.ac
file; around line781
, you'll find the checks forlibzip
. If you comment these out and remove them, and then re-generate theconfigure
script with the commandautoreconf -if
, you might be able to get past this.Not ideal, I know, but it will be the quickest way. I'll try to get a fix for this in for the upcoming
v4.9.3
release.v4.9.3
will be out as soon as possible, currently I am trying to f…