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

[netCDF #AMY-342452]: Unable to install netcdf

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.


  • Subject: [netCDF #AMY-342452]: Unable to install netcdf
  • Date: Mon, 23 Feb 2015 11:35:46 -0700

Hello,

Depending on where you installed the hdf5 library, you may need to provide the 
location when running configure via 'LDFLAGS' and 'CPPFLAGS'.  Additionally, 
when you built hdf5, did you enable the hdf5 high-level (hdf5-hl) library?  
Without this, netcdf will fail to build as well.

If you can provide information re: how and where libhdf5 is installed on your 
system, I can provide more specific advice.

Thank you, have a good day,

-Ward


> Full Name: Hera Gudlaugsdottir
> Email Address: address@hidden
> Organization: Institute of Earth Sciences, University of Iceland
> Package Version:
> Operating System: mac OS X Yosemite
> Hardware:
> Description of problem:
> 
> First I install hdf5 and attach zlib (include & lib) to it. Then I
> ./configure netcdf attaching hdf5 (inc & lib), zlib (inc & lib) and curl
> (inc & lib). When I then do "make install" it complains about not linking
> to the hdf5 lib. Why ??
> 
> 


Ticket Details
===================
Ticket ID: AMY-342452
Department: Support netCDF
Priority: Normal
Status: Closed