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.
> 1. the exact version of netCDF - see the VERSION file. 4.0.1 > 2. the *complete* output of “./configure”, “make”, and “make check. Yes, > it's long, but it's all important. see > bluefire:/contrib/netcdf-4.0.1-mpi/installlog > 3. if the configure failed, the contents of config.log. > 4. if you are having problems with very large files (larger than 2GiB), > send the output of "make check" after first running "make distclean" and > invoking the configure script with the –enable-large-file-tests option > included. > > > The problem is that the netcdf.pc file contains incorrect paths to the hdf5 > and z libraries. The fix is to add "/lib" in configure.ac > That is - in the following lines of configure.ac HDF5DIR should be > HDF5DIR/lib and ZLIBDIR should be ZLIBDIR/lib same with the others... > > NC_LIBS="$with_netcdf_c_lib" > NC_LIBS="$NC_LIBS -L$HDF5DIR" > NC_LIBS="$NC_LIBS -lhdf5_hl -lhdf5 $SZLIB_LIBS" > NC_LIBS="$NC_LIBS -L$ZLIBDIR" > NC_LIBS="$NC_LIBS -lz $LIBS" > NC_LIBS="$NC_LIBS -L$with_daplib/lib" > NC_LIBS="$NC_LIBS $CURL_LIBS" > NC_FLIBS="-lnetcdff $NC_LIBS" > NC_FLIBS="$NC_LIBS" > > > Davide - I have edited the netcdf.pc file in > bluefire:/contrib/netcdf-4.0.1-mpi/lib/pkgconfig/ to correct this error. > > > Thanks, > > Howdy Jim! This was fixed some time ago in the daily snapshot, and that fix will be part of the upcoming 4.1 release. If you want to try the snapshot, get it here: ftp://ftp.unidata.ucar.edu/pub/netcdf/snapshot/netcdf-4-daily.tar.gz Thanks! Ed Ticket Details =================== Ticket ID: MJN-682715 Department: Support netCDF Priority: Normal Status: Closed