We try to build netCDF++ 4.3.1 against netCDF 4.9.3 with nc_logging disabled.
The configure script correctly detects that logging was disabled:
nc-config --has-logging
no
./configure
checking netCDF has logging... no
make
binutils/2.42-GCCcore-14.2.0/bin/ld: pres_temp_4D_plugin_wr.cpp:(.text.startup+0x349): undefined reference to `nc_set_log_level'
We try to build netCDF++ 4.3.1 against netCDF 4.9.3 with nc_logging disabled.
The configure script correctly detects that logging was disabled:
However, compilation with this configuration file fails:
As a workaround we could disable the function using the following patch:
https://github.com/easybuilders/easybuild-easyconfigs/blob/0148a2218c08aa3b2025c62978c35a08b4fb18c1/easybuild/easyconfigs/n/netCDF-C%2B%2B4/netCDF-C%2B%2B4-4.3.1-disable-nc-set-log-level.patch