Hi Alexander, > I have this bug report concerning build issue of the octave netcdf > interface. > https://savannah.gnu.org/bugs/?45406 > > NetCDF is build with NetCDF4 support. Should the HDF5 include directory and > library not be present in the --cflags and the --libs option? Only id the netCDF library was guilt with the configure option --disable-shared. When the default shared library is built and installed, it "knows" where to find the HDF5 library and other libraries such as libz and libcurl that it was built with, so to link with it, you only need to specify -lnetcdf (or -lnetcdff for the Fortran netCDF library). > As far as I know, example like on the page  rely on the presence of the > HDF5 library. Well nc-config still works ok if netCDF is built with --disable-netcdf4, but the default is to built wth HDF5 and the netCDF-4 functionality it makes possible by default, assuming the configure script finds the HDF5 library, as specified with the CPPFLAGS and LDFLAGS environment variables passed to configure. --Russ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: KNB-625543 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.