Dear All,


I got en error when compile RegCM-4.4.5.2, like this:
===================================================
configure: checking for netcdf.h...
checking netcdf.h usability... yes
checking netcdf.h presence... yes
checking for netcdf.h... yes
configure: checking for libnetcdf.a...
checking for nc_close in -lnetcdf... no
configure: checking if we need to link jpeg library for HDF4...
checking for nc_enddef in -lnetcdf... no
configure: checking if we need to link hdf5 library...
checking for nc_sync in -lnetcdf... no
configure: checking if we need to link szlib library...
checking for nc_inq_libvers in -lnetcdf... no
configure: error: NetCDF library not found
===================================================

the configure script has found the netcdf.h, which I have indicate the location as argument in command line.

But, something is miss in the lib linked by the falgs ‘-lnetcdf’.


Any advice is appreciated.

I also attached my config.log below. 

Thanks in advance and have a nice day.