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.
Greetings! Did you run make distclean before you tried to rebuild? Sean > Dear sir > > I tried the below command command and try to install after that still it > > is giving the following errors > > > > $source /opt/intel/bin/ifortvars.sh intel64 > $source /opt/intel/bin/iccvars.sh intel64 > > > > > /opt/intel/bin/icc -DHAVE_CONFIG_H -I. -I.. -I../fortran > > -I../include -g -O2 -MT tst_rename.o -MD -MP -MF > > $depbase.Tpo -c -o tst_rename.o tst_rename.c &&\ > > mv -f $depbase.Tpo $depbase.Po > > > > /bin/bash ../libtool --tag=CC --mode=link /opt/intel/bin/icc -g -O2 > > ../liblib/libnetcdf.la -o tst_rename tst_rename.o > > -lm > > libtool: link: /opt/intel/bin/icc -g -O2 -o .libs/tst_rename tst_rename.o > > ../liblib/.libs/lib netcdf.so -lm -Wl,-rpath > > -Wl,/home/dipak/NETCDF-4.1.3/lib > > > > ld: warning: libimf.so, needed by ../liblib/.libs/libnetcdf.so, not found > > (try using -rpath or -rpath-link) > > ld: warning: libsvml.so, needed by ../liblib/.libs/libnetcdf.so, not found > > (try using -rpath o r -rpath-link) > > ld: warning: libintlc.so.5, needed by ../liblib/.libs/libnetcdf.so, not > > found (try using -rpat h or -rpath-link) > > > > make[2]: Leaving directory `/home/dipak/netcdf-4.1.3/nctest' > > make check-TESTS > > make[2]: Entering directory `/home/dipak/netcdf-4.1.3/nctest' > > /home/dipak/netcdf-4.1.3/nctest/.libs/lt-nctest: error while loading > > shared libraries: libimf. so: cannot open shared > > object file: No such file or directory > > FAIL: nctest > > /home/dipak/netcdf-4.1.3/nctest/.libs/lt-tst_rename: error while loading > > shared libraries: lib imf.so: cannot open shared > > object file: No such file or directory > > > > FAIL: tst_rename > > cmp: nctest_classic.nc: No such file or directory > > FAIL: compare_test_files.sh > > ================================================ > > 3 of 3 tests failed > > Please report to address@hidden > > ================================================ > > make[2]: *** [check-TESTS] Error 1 > > make[2]: Leaving directory `/home/dipak/netcdf-4.1.3/nctest' > > make[1]: *** [check-am] Error 2 > > make[1]: Leaving directory `/home/dipak/netcdf-4.1.3/nctest' > > make: *** [check-recursive] Error 1 > > dipak@ubuntu11:~/netcdf-4.1.3$ > > > > > > Kindly help me in thsi regards, how to solve this error. > > > > thanks and regards > > > > Dipak kumar Sahu > > > > > > > > > > address@hidden> wrote: > > > >> Greetings! > >> > >> The error indicates that netCDF is having a problem finding your Intel > >> libraries. Did you source the Intel environmental variable setup scripts > >> for icc and ifort? If not, use the following command as a guide to find the > >> proper scripts on your system: > >> > >> source <location of Intel compiler>/bin/ifortvars.sh intel64 > >> source <location of Intel compiler>/bin/iccvars.sh intel64 > >> > >> Cheers, > >> > >> Sean > >> > >> > Dear sir > >> > > >> > I am getting the following error while tring to instal netcdf-4.1.3 > >> > without HDF5 by using the following command > >> > > >> > ./configure --prefix=/home/dipak --disable-netcdf-4 make check install > >> > > >> > The errors are like below > >> > > >> > /bin/bash ../libtool --tag=CC --mode=link /opt/intel/bin/icc -g -O2 > >> > ../liblib/libnetcdf.la -o tst_rename tst_rename.o -lm > >> > > >> > libtool: link: /opt/intel/bin/icc -g -O2 -o .libs/tst_rename > >> > tst_rename.o ../liblib/.libs/libnetcdf.so > >> > -lm -Wl,-rpath -Wl,//home/dipak/lib > >> > > >> > ld: warning: libimf.so, needed by ../liblib/.libs/libnetcdf.so, not > >> found > >> > (try using -rpath or -rpath-link) > >> > > >> > ld: warning: libsvml.so, needed by ../liblib/.libs/libnetcdf.so, not > >> found > >> > (try using -rpath or -rpath-link) > >> > > >> > ld: warning: libintlc.so.5, needed by ../liblib/.libs/libnetcdf.so, not > >> > found (try using -rpath or -rpath-link) > >> > > >> > make[2]: Leaving directory `/home/dipak/netcdf-4.1.3/nctest' > >> > > >> > make check-TESTS > >> > > >> > make[2]: Entering directory `/home/dipak/netcdf-4.1.3/nctest' > >> > > >> > /home/dipak/netcdf-4.1.3/nctest/.libs/lt-nctest: error while loading > >> shared > >> > libraries: libimf.so: cannot open shared object file: No such file or > >> > directory > >> > > >> > FAIL: nctest > >> > > >> > /home/dipak/netcdf-4.1.3/nctest/.libs/lt-tst_rename: error while loading > >> > shared libraries: libimf.so: cannot open shared object file: No such > >> file > >> > or directory > >> > > >> > FAIL: tst_rename > >> > > >> > cmp: nctest_classic.nc: No such file or directory > >> > > >> > FAIL: compare_test_files.sh > >> > > >> > ================================================ > >> > > >> > 3 of 3 tests failed > >> > > >> > Please report to address@hidden > >> > > >> > ================================================ > >> > > >> > make[2]: *** [check-TESTS] Error 1 > >> > > >> > make[2]: Leaving directory `/home/dipak/netcdf-4.1.3/nctest' > >> > > >> > make[1]: *** [check-am] Error 2 > >> > > >> > make[1]: Leaving directory `/home/dipak/netcdf-4.1.3/nctest' > >> > > >> > make: *** [check-recursive] Error 1 > >> > > >> > dipak@ubuntu11:~/netcdf-4.1.3$ > >> > > >> > waiting for your kind reply > >> > thanks and regards > >> > > >> > Dipak sahu > >> > > >> > > >> > -- > >> > ******************************************** > >> > Dipak kumar Sahu, > >> > Research Scholar, > >> > Centre for Atmospheric Sciences., > >> > Indian Institute of Technology,Delhi > >> > email:- address@hidden > >> > ********************************************** > >> > > >> > > >> > >> > >> Ticket Details > >> =================== > >> Ticket ID: HAD-852299 > >> Department: Support netCDF > >> Priority: Normal > >> Status: Open > >> > >> > > > > > > -- > > ******************************************** > > Dipak kumar Sahu, > > Research Scholar, > > Centre for Atmospheric Sciences., > > Indian Institute of Technology,Delhi > > email:- address@hidden > > ********************************************** > > > > > > -- > ******************************************** > Dipak kumar Sahu, > Research Scholar, > Centre for Atmospheric Sciences., > Indian Institute of Technology,Delhi > email:- address@hidden > ********************************************** > > Ticket Details =================== Ticket ID: HAD-852299 Department: Support netCDF Priority: Normal Status: Open