编译NetCDF 4.2出现configure: error: Can't find or link to the hdf5 library.
configure时出现configure: error: Can't find or link to the hdf5 library. Configure with --disable-netcdf-4 or see config.log for errors.,即使用with-hdf5=指定了hdf5库的路径也不行。
只需要手动指定LDFLAGS和CPPFLAGS就可以了,原因是co...