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, From the `test-suite.log` file you provided, I see the following error repeated: ./tst_h_dimscales2: error while loading shared libraries: libhdf5_hl.so.10: cannot open shared object file: No such file or directory This suggests to me that your shared libraries are not on your LD_LIBRARY_PATH. Try running `make check` as follows: $ LD_LIBRARY_PATH=/usr/local/lib make check If this works, you will need to update your LD_LIBRARY_PATH variable, which is used when a program runs to locate shared libraries. If this does not work, please let me know. I hope this helps, -Ward > Hi All, > > I am experiencing a failure when building netcdf-4.3.3 with hdf5 support > on my Linux machine (GNOME Desktop distributed by Debian). I firstly > built HDF5-1.8.15 with zlib-1.2.8, and it was successful. Then I started > to build netcdf-4.3.3 with the commands below: > > CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ./configure > --prefix=/usr/local --enable-netcdf-4 --enable-dap > > make clean > make > make check > > Then I got a failure message as below: > > make check-TESTS > make[2]: Entering directory > `/home/pg/zhou/NetCDF_serial/netcdf-4.3.3.1/h5_test' > make[3]: Entering directory > `/home/pg/zhou/NetCDF_serial/netcdf-4.3.3.1/h5_test' > FAIL: tst_h_files > FAIL: tst_h_files2 > FAIL: tst_h_files4 > FAIL: tst_h_atts > FAIL: tst_h_atts3 > FAIL: tst_h_atts4 > FAIL: tst_h_vars > FAIL: tst_h_vars2 > FAIL: tst_h_vars3 > FAIL: tst_h_grps > FAIL: tst_h_compounds > FAIL: tst_h_compounds2 > FAIL: tst_h_wrt_cmp > FAIL: tst_h_rd_cmp > FAIL: tst_h_vl > FAIL: tst_h_opaques > FAIL: tst_h_strings > FAIL: tst_h_strings1 > FAIL: tst_h_strings2 > FAIL: tst_h_ints > FAIL: tst_h_dimscales > FAIL: tst_h_dimscales1 > FAIL: tst_h_dimscales2 > FAIL: tst_h_dimscales3 > FAIL: tst_h_enums > FAIL: tst_h_dimscales4 > make[4]: Entering directory > `/home/pg/zhou/NetCDF_serial/netcdf-4.3.3.1/h5_test' > make[4]: Nothing to be done for `all'. > make[4]: Leaving directory > `/home/pg/zhou/NetCDF_serial/netcdf-4.3.3.1/h5_test' > ============================================================================ > Testsuite summary for netCDF 4.3.3.1 > ============================================================================ > # TOTAL: 26 > # PASS: 0 > # SKIP: 0 > # XFAIL: 0 > # FAIL: 26 > # XPASS: 0 > # ERROR: 0 > ============================================================================ > See h5_test/test-suite.log > Please report to address@hidden > ============================================================================ > make[3]: *** [test-suite.log] Error 1 > make[3]: Leaving directory > `/home/pg/zhou/NetCDF_serial/netcdf-4.3.3.1/h5_test' > make[2]: *** [check-TESTS] Error 2 > make[2]: Leaving directory > `/home/pg/zhou/NetCDF_serial/netcdf-4.3.3.1/h5_test' > make[1]: *** [check-am] Error 2 > make[1]: Leaving directory > `/home/pg/zhou/NetCDF_serial/netcdf-4.3.3.1/h5_test' > make: *** [check-recursive] Error 1 > > The document test-suite.log mentioned above is attached below: > > > Any help appreciated. Many thanks. > > Wencai Zhou > > School of Civil, Environmental and Mining Engineering, > The University of Western Australia > M015, 35 Stirling Highway > Crawley WA 6009 > > > > > > > > > > > > > > > > > Ticket Details =================== Ticket ID: XOQ-789352 Department: Support netCDF Priority: Normal Status: Closed