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, The netCDF build environment looks for, amongst other things, libraries named `libhdf5.so`, `libhdf5.a`, etc. I'm inspecting a ubuntu 15.10 system right now, and I can see that the libraries contain H5Fflush. They are just named in a manner we do not expect. Try copying libhdf5_serial.a to libhdf5.a and let me know if this works for you. I will also update our build systems to look for hdf5 libraries with this naming convention. I hope this helps, -Ward > Hi! I am trying to instal netcdf, using netcdf-4.3.3.1.tar.gz > After making sure libhdf5 is inataled: > > sudo apt-get install libhdf5-dev > Reading package lists... Done > Building dependency tree > Reading state information... Done > libhdf5-dev is already the newest version. > 0 upgraded, 0 newly installed, 0 to remove and 21 not upgraded. > > locate libhdf5 > /usr/lib/x86_64-linux-gnu/libhdf5_cpp.a > /usr/lib/x86_64-linux-gnu/libhdf5_cpp.so > /usr/lib/x86_64-linux-gnu/libhdf5_cpp.so.10 > /usr/lib/x86_64-linux-gnu/libhdf5_cpp.so.10.0.1 > etc............. > > I enter: > > ./configure --prefix=/usr/local/netcdf --with-pix --disable-dap > --enable-static=yes --enable-shared=no > > which terminates with > > checking for library containing H5Fflush... no > configure: error: Can't find or link to the hdf5 library. Use > --disable-netcdf-4, or see config.log for errors. > > > The attached config log shows other errors > > Any help would be appreciated immensely > > OS=ubuntu 15.10 > > Ticket Details =================== Ticket ID: WVT-704100 Department: Support netCDF Priority: Normal Status: Closed