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.
Hello, My apologies for the delay in responding; what version of libnetcdf have you installed? NetCDF-Fortran 4.4.1 is quite an old version, you also might try the latest release, found at https://github.com/Unidata/netcdf-fortran/releases. Let us know if the latest release still gives you errors as well. Thank you, have a great afternoon, -Ward > hi > i install netcdf-fortran-4.4.1 > with this command > ./configure --prefix=/home/model/lib/netcdf > CPPFLAGS=-I/home/model/lib/netcdf/include > LDFLAGS=-L/home/model/lib/netcdf/lib > and when i make and make check i have this config.log > i try with other version and failed > > make[2]: Entering directory `/home/model/netcdf-fortran-4.4.1/nf_test' > /bin/sh ../libtool --tag=F77 --mode=link gfortran -I../fortran > -I../fortran -m64 -L/home/model/lib/netcdf/lib -o nf_test > f03lib_f_interfaces.o test_get.o test_put.o nf_error.o nf_test.o > test_read.o test_write.o util.o f03lib.o ../fortran/libnetcdff.la -lnetcdf > -lcurl > libtool: link: gfortran -I../fortran -I../fortran -m64 -o .libs/nf_test > f03lib_f_interfaces.o test_get.o test_put.o nf_error.o nf_test.o > test_read.o test_write.o util.o f03lib.o -L/home/model/lib/netcdf/lib > ../fortran/.libs/libnetcdff.so /home/model/lib/netcdf/lib/libnetcdf.so -lm > -ldl -lz -lcurl -Wl,-rpath -Wl,/home/model/lib/netcdf/lib > ../fortran/.libs/libnetcdff.so: undefined reference to > `nc_get_chunk_cache_ints' > ../fortran/.libs/libnetcdff.so: undefined reference to > `nc_set_var_chunk_cache_ints' > ../fortran/.libs/libnetcdff.so: undefined reference to > `nc_def_var_chunking_ints' > ../fortran/.libs/libnetcdff.so: undefined reference to > `nc_set_chunk_cache_ints' > ../fortran/.libs/libnetcdff.so: undefined reference to > `nc_get_var_chunk_cache_ints' > ../fortran/.libs/libnetcdff.so: undefined reference to > `nc_inq_var_chunking_ints' > collect2: error: ld returned 1 exit status > make[2]: *** [nf_test] Error 1 > make[2]: Leaving directory `/home/model/netcdf-fortran-4.4.1/nf_test' > make[1]: *** [check-am] Error 2 > make[1]: Leaving directory `/home/model/netcdf-fortran-4.4.1/nf_test' > make: *** [check-recursive] Error 1 > > please help me > > thanks > leila > > Ticket Details =================== Ticket ID: WVK-684113 Department: Support netCDF Priority: High Status: Closed =================== NOTE: All email exchanges with 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.