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, Thank you for providing your config.log file. I see that you are using hdf5-1.8.13, which is good; netcdf requires at least hdf5-1.8.9. It appears that configure cannot find the hdf5 high-level interface library, libhdf5_hl. When you configure hdf5, you need to pass the '--enable-hl' option to the configure script. Try recompiling hdf5 with this optiona nd please let me know if this works. Thank you, -Ward > Full Name: izmiyati razikin > Email Address: address@hidden > Organization: novaglobal pte ltd > Package Version: netcdf-4.3.2 > Operating System: centos 6.5 > Hardware: x86_64 > Description of problem: Dear Support, > > I'm having trouble compiling netcdf-4.3.2 with hdf5-1.8.3. Error msg > "configure: error: Can't find or link to the hdf5 library. Use > --disable-netcdf-4, or see config.log for errors." > > What I did is: > export CPPFLAGS=-I/opt/hdf5-1.8.13/include > export LDFLAGS=-L/opt/hdf5-1.8.13/lib > export LD_LIBRARY_PATH=/opt/hdf5-1.8.13/lib > ./configure --prefix=/opt/netcdf-4.3.2 > > Can you tell me how I can successfully compile netcdf-4.3.2 with hdf5-1.8.3? > > Thanking you in advance. > > Rgds, > Izmiyati (Ms) > > Ticket Details =================== Ticket ID: MNQ-134913 Department: Support netCDF Priority: Normal Status: Closed