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 Dustin, It looks like the error is related to the C runtime not being able to find the libraries. You will need to set the LD_LIBRARY_PATH environmental variable as follows (adjust if you are not using a bash/sh shell): $ export LD_LIBRARY_PATH=/usr/local/hdf5/1.10.2_1/lib Try this and let me know if the issue persists, or if there are any other problems. Thanks! -Ward > Hello, > > I am trying to install the netcdf libraries in order to install the C++ > netcdf libraries so I can read netcdf4 files in C++. I followed the > instructions on this page for the C libraries: > > https://www.unidata.ucar.edu/software/netcdf/docs/getting_and_building_netcdf.html > > and used CPPFLAGS=-I/usr/local/hdf5/1.10.2_1/include > LDFLAGS=-L/usr/local/hdf5/1.10.2_1/lib ./configure --prefix=/usr/local > > The configure script ran fine with no errors, and the make install command > worked fine as well. When I ran make check though, I received the following > errors and was told to contact you. > > Any help would be much appreciated. > > Thank you. > > Dustin C > > > > > Dustin M. Conrad > Graduate Research Assistant > Dept. of Atmospheric Science > University of Alabama-Huntsville > address@hidden > 256-824-4034 > SWIRLL 213 > > > > > > Ticket Details =================== Ticket ID: KQC-216775 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.