Specify the location for zlib library as follows: ./configure --prefix=/path/to/netcdf/directory --with-zlib=/path/to/location/of/zlib because of --with-hdf5=/path/to/location/of/hdf5 option does not work for necdf-4.1.3, you need to export HDF5 location paths as follows: export CPPFLAGS=-I/location/to/hdf5/include/ export LDFLAGS=-L/location/to/hdf5/lib export LD_LIBRARY_PATH=/location/to/hdf5/lib
CentOS: error installing Netcdf, can't find the z library
最新推荐文章于 2025-01-02 17:05:58 发布