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.
Hi, NetCDF 4.1.3 is quite old and no longer actively supported; I'll be happy to see what I can figure out, are you able to provide the `config.log` and `test-suite.log` files generated when you run 'make' and 'make check', respectively? This particular error appears to be the result of the test trying to access an old server, and can be ignored. Are there other failures? -Ward > Hi, > > I am trying to install netcdf using hdf5 and zlib but I ended up having an > error (please see the attached screenshot). May I request you to kindly tell > me how to solve this issue?. > > I followed the instructions below: > > #----------------------------------------------------- > #----ZLIB---- > $ tar -xzf zlib-1.3.1.tar.gz > $ cd zlib-1.3.1/ > $ ZDIR=/home/ppushpendra/OSU_Tutorial/opt/zlib > $ ./configure --prefix=${ZDIR} > $ make check > $ make install > #----------------------------------------------------- > #----HDF5---- > $ tar -xzf hdf5-1.12.2.tar.gz > $ cd hdf5-1.12.2/ > $ H5DIR=/home/ppushpendra/OSU_Tutorial/opt/hdf5 > $ ./configure --with-zlib=${ZDIR} --prefix=${H5DIR} --enable-hl > $ make check > $ make install > $ export LD_LIBRARY_PATH=${H5DIR}/lib:$LD_LIBRARY_PATH > #----------------------------------------------------- > #----NETCDF---- > $ tar -xzf netcdf-4.1.3.tar.gz > $ cd netcdf-c-4.1.3/ > $ NCDIR=/home/ppushpendra/OSU_Tutorial/opt/netcdf > $ CPPFLAGS='-I${H5DIR}/include -I${ZDIR}/include' LDFLAGS='-L${H5DIR}/lib > -L${ZDIR}/lib' ./configure --prefix=${NCDIR} > $ make check <----Step where I am getting an error. > > > Best, > Pushpendra > > > > Postdoctoral researcher > > Department of Civil Engineering > > > > The University of Alabama<https://www.ua.edu/> > > Cubicle W, Turing Wing, Cyber Hall? > [signature_2616891231]<https://www.ua.edu/> > Ticket Details =================== Ticket ID: UFS-497104 Department: Support netCDF Priority: Normal Status: Closed =================== NOTE: All email exchanges with NSF Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.