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

[netCDF #GFQ-732977]: trouble to install NetCDF library



Hello,

You will need to download the HDF5 library with zlib support, available from 
https://www.hdfgroup.org.  Alternatively, if you do not need support for 
netCDF-4, you can pass the option --disable-netcdf4 to 'configure'.

I hope this helps,

-Warde

> Hi Support group,
> 
> I have trouble to install netcdf libaray to my MacBook (Catalina).
> 
> Here is the website I access to 
> https://www.unidata.ucar.edu/downloads/netcdf/. I downloaded 
> netcdf-c-4.7.4.tar.gz
> 
> Following the steps like below:
> https://simplex.giss.nasa.gov/gcm/doc/UserGuide/Installing_NetCDF_library.html
> 
> After I run ./configure --prefix=/opt/netcdf/4.7.4
> I got the error message as below after a while:
> ---------------------------------------------------------------------------
> …
> 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.
> 
> Do you have any suggestions?
> 
> Thanks,
> 
> Xiaohua
> 
> 


Ticket Details
===================
Ticket ID: GFQ-732977
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.