[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #UIK-136600]: Error: H5Fflush not found



try changing the configure line to this:
> $ CPPFLAGS='-I${H5DIR}/include' LDFLAGS='-L${H5DIR}/lib -lhdf5 -lhdf5_hl' 
> ./configure --prefix=/software/test_built_hdf_fortran/



> 
> I am trying to build netcdf  through Cygwin on Windows7, but I got the
> error message about "H5Fflush not found". My HDF5 version is 1.10.5,
> and the NetCDF4 version is 4.1.3.
> 
> The error message I got is:
> 
> ?
> 
> 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.
> 
> Before I started working on NetCDF4 configure process, I already set:
> 
> export H5DIR='/software/HDF_Group/HDF5/1.10.5'
> export LD_LIBRARY_PATH=/software/HDF_Group/HDF5/1.10.5/lib
> 
> The configure command I used was:
> 
> $ CPPFLAGS='-I${H5DIR}/include' LDFLAGS='-L${H5DIR}/lib' ./configure 
> --prefix=/software/test_built_hdf_fortran/
> 
> If I add "--disable-netcdf-4", the configuration process will finish
> successfully, but I think I need NetCDF4 enable for my ROMS model.
> 
> I already attached the config.log file that you may need to check. I
> really confused about this error since every set up looks fine.... I
> would be appreciated if you could provide some suggestion.
> 
> I have another question which may related with this... I downloaded
> netcdf-4.1.3.tar.gz, which is neither "netcdf-c-x.x.x' nor
> "netcdf-fortran-x.x.x".  Does this matter? Since it says that NetCDF-C
> is required for the other libraries, such as Fortran, Python, Java and
> C++. I just began with building netcdf-4.3.1. Will this cause problem?
> 
> Thanks for your time!
> 
> Best
> Yifan
> 
> 

=Dennis Heimbigner
  Unidata


Ticket Details
===================
Ticket ID: UIK-136600
Department: Support netCDF
Priority: Normal
Status: Open
===================
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.