Hi Iain. Have you tried setting LD_LIBRARY_PATH=/usr/local/lib before running "make check"? Are you running "make check" using sudo or as root? In that case, it may be that your /etc/sudoers is not configured to inherit environment variables, as there are security problems that can reveal. Typically, you should only run "make install" as root, but not "make check". --Russ > we are trying to install netcdf but make check fails. > > # make check > Making check in include > make[1]: Entering directory > `/usr/local/src/netcdf/4.2.1.1/netcdf-4.2.1.1/include' > make[1]: Nothing to be done for `check'. > make[1]: Leaving directory > `/usr/local/src/netcdf/4.2.1.1/netcdf-4.2.1.1/include' > Making check in oc > make[1]: Entering directory > `/usr/local/src/netcdf/4.2.1.1/netcdf-4.2.1.1/oc' > make[1]: Nothing to be done for `check'. > make[1]: Leaving directory > `/usr/local/src/netcdf/4.2.1.1/netcdf-4.2.1.1/oc' > Making check in h5_test > make[1]: Entering directory > `/usr/local/src/netcdf/4.2.1.1/netcdf-4.2.1.1/h5_test' > make tst_h_files tst_h_files2 tst_h_files4 tst_h_atts tst_h_atts3 > tst_h_atts4 tst_h_vars tst_h_vars2 tst_h_vars3 tst_h_grps > tst_h_compounds tst_h_compounds2 tst_h_wrt_cmp tst_h_rd_cmp tst_h_vl > tst_h_opaques tst_h_strings tst_h_strings1 tst_h_strings2 tst_h_ints > tst_h_dimscales tst_h_dimscales1 tst_h_dimscales2 tst_h_dimscales3 > tst_h_enums tst_h_dimscales4 > make[2]: Entering directory > `/usr/local/src/netcdf/4.2.1.1/netcdf-4.2.1.1/h5_test' > make[2]: `tst_h_files' is up to date. > make[2]: `tst_h_files2' is up to date. > make[2]: `tst_h_files4' is up to date. > make[2]: `tst_h_atts' is up to date. > make[2]: `tst_h_atts3' is up to date. > make[2]: `tst_h_atts4' is up to date. > make[2]: `tst_h_vars' is up to date. > make[2]: `tst_h_vars2' is up to date. > make[2]: `tst_h_vars3' is up to date. > make[2]: `tst_h_grps' is up to date. > make[2]: `tst_h_compounds' is up to date. > make[2]: `tst_h_compounds2' is up to date. > make[2]: `tst_h_wrt_cmp' is up to date. > make[2]: `tst_h_rd_cmp' is up to date. > make[2]: `tst_h_vl' is up to date. > make[2]: `tst_h_opaques' is up to date. > make[2]: `tst_h_strings' is up to date. > make[2]: `tst_h_strings1' is up to date. > make[2]: `tst_h_strings2' is up to date. > make[2]: `tst_h_ints' is up to date. > make[2]: `tst_h_dimscales' is up to date. > make[2]: `tst_h_dimscales1' is up to date. > make[2]: `tst_h_dimscales2' is up to date. > make[2]: `tst_h_dimscales3' is up to date. > make[2]: `tst_h_enums' is up to date. > make[2]: `tst_h_dimscales4' is up to date. > make[2]: Leaving directory > `/usr/local/src/netcdf/4.2.1.1/netcdf-4.2.1.1/h5_test' > make check-TESTS > make[2]: Entering directory > `/usr/local/src/netcdf/4.2.1.1/netcdf-4.2.1.1/h5_test' > ./tst_h_files: error while loading shared libraries: libhdf5_hl.so.7: > cannot open shared object file: No such file or directory > FAIL: tst_h_files > ./tst_h_files2: error while loading shared libraries: libhdf5_hl.so.7: > cannot open shared object file: No such file or directory > FAIL: tst_h_files2 > ./tst_h_files4: error while loading shared libraries: libhdf5_hl.so.7: > cannot open shared object file: No such file or directory > FAIL: tst_h_files4 > ./tst_h_atts: error while loading shared libraries: libhdf5_hl.so.7: > cannot open shared object file: No such file or directory > FAIL: tst_h_atts > ./tst_h_atts3: error while loading shared libraries: libhdf5_hl.so.7: > cannot open shared object file: No such file or directory > FAIL: tst_h_atts3 > ./tst_h_atts4: error while loading shared libraries: libhdf5_hl.so.7: > cannot open shared object file: No such file or directory > FAIL: tst_h_atts4 > ./tst_h_vars: error while loading shared libraries: libhdf5_hl.so.7: > cannot open shared object file: No such file or directory > FAIL: tst_h_vars > ./tst_h_vars2: error while loading shared libraries: libhdf5_hl.so.7: > cannot open shared object file: No such file or directory > FAIL: tst_h_vars2 > ./tst_h_vars3: error while loading shared libraries: libhdf5_hl.so.7: > cannot open shared object file: No such file or directory > FAIL: tst_h_vars3 > ./tst_h_grps: error while loading shared libraries: libhdf5_hl.so.7: > cannot open shared object file: No such file or directory > FAIL: tst_h_grps > ./tst_h_compounds: error while loading shared libraries: > libhdf5_hl.so.7: cannot open shared object file: No such file or > directory > FAIL: tst_h_compounds > ./tst_h_compounds2: error while loading shared libraries: > libhdf5_hl.so.7: cannot open shared object file: No such file or > directory > FAIL: tst_h_compounds2 > ./tst_h_wrt_cmp: error while loading shared libraries: libhdf5_hl.so.7: > cannot open shared object file: No such file or directory > FAIL: tst_h_wrt_cmp > ./tst_h_rd_cmp: error while loading shared libraries: libhdf5_hl.so.7: > cannot open shared object file: No such file or directory > FAIL: tst_h_rd_cmp > ./tst_h_vl: error while loading shared libraries: libhdf5_hl.so.7: > cannot open shared object file: No such file or directory > FAIL: tst_h_vl > ./tst_h_opaques: error while loading shared libraries: libhdf5_hl.so.7: > cannot open shared object file: No such file or directory > FAIL: tst_h_opaques > ./tst_h_strings: error while loading shared libraries: libhdf5_hl.so.7: > cannot open shared object file: No such file or directory > FAIL: tst_h_strings > ./tst_h_strings1: error while loading shared libraries: libhdf5_hl.so.7: > cannot open shared object file: No such file or directory > FAIL: tst_h_strings1 > ./tst_h_strings2: error while loading shared libraries: libhdf5_hl.so.7: > cannot open shared object file: No such file or directory > FAIL: tst_h_strings2 > ./tst_h_ints: error while loading shared libraries: libhdf5_hl.so.7: > cannot open shared object file: No such file or directory > FAIL: tst_h_ints > ./tst_h_dimscales: error while loading shared libraries: > libhdf5_hl.so.7: cannot open shared object file: No such file or > directory > FAIL: tst_h_dimscales > ./tst_h_dimscales1: error while loading shared libraries: > libhdf5_hl.so.7: cannot open shared object file: No such file or > directory > FAIL: tst_h_dimscales1 > ./tst_h_dimscales2: error while loading shared libraries: > libhdf5_hl.so.7: cannot open shared object file: No such file or > directory > FAIL: tst_h_dimscales2 > ./tst_h_dimscales3: error while loading shared libraries: > libhdf5_hl.so.7: cannot open shared object file: No such file or > directory > FAIL: tst_h_dimscales3 > ./tst_h_enums: error while loading shared libraries: libhdf5_hl.so.7: > cannot open shared object file: No such file or directory > FAIL: tst_h_enums > ./tst_h_dimscales4: error while loading shared libraries: > libhdf5_hl.so.7: cannot open shared object file: No such file or > directory > FAIL: tst_h_dimscales4 > ================================================ > 26 of 26 tests failed > Please report to address@hidden > ================================================ > > Our system is a RHEL 6.3 64bit system. Any ideas what might be wrong? > > ll /usr/local/lib/libhdf5* > -rw-r--r--. 1 root root 5866984 Oct 29 15:23 /usr/local/lib/libhdf5.a > -rw-r--r--. 1 root root 205578 Oct 29 15:23 /usr/local/lib/libhdf5_hl.a > -rwxr-xr-x. 1 root root 975 Oct 29 15:23 > /usr/local/lib/libhdf5_hl.la > lrwxrwxrwx. 1 root root 19 Oct 29 15:23 > /usr/local/lib/libhdf5_hl.so -> libhdf5_hl.so.7.0.3 > lrwxrwxrwx. 1 root root 19 Oct 29 15:23 > /usr/local/lib/libhdf5_hl.so.7 -> libhdf5_hl.so.7.0.3 > -rwxr-xr-x. 1 root root 136299 Oct 29 15:23 > /usr/local/lib/libhdf5_hl.so.7.0.3 > -rwxr-xr-x. 1 root root 928 Oct 29 15:23 /usr/local/lib/libhdf5.la > -rw-r--r--. 1 root root 2953 Oct 29 15:23 > /usr/local/lib/libhdf5.settings > lrwxrwxrwx. 1 root root 16 Oct 29 15:23 /usr/local/lib/libhdf5.so > -> libhdf5.so.7.0.3 > lrwxrwxrwx. 1 root root 16 Oct 29 15:23 /usr/local/lib/libhdf5.so.7 > -> libhdf5.so.7.0.3 > -rwxr-xr-x. 1 root root 3185987 Oct 29 15:23 > /usr/local/lib/libhdf5.so.7.0.3 > > thanks > > iain > > -- > > Iain Morrison > IT Manager > MRC Epidemiology Unit > Institute of Metabolic Science > Box 285 > Addenbrooke's Hospital > Hills Road > Cambridge > CB2 0QQ > Tel 01223 769200 > > Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: QCG-518842 Department: Support netCDF Priority: Normal 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.