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

[netCDF #IEU-279311]: netCDF installation failure

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 #IEU-279311]: netCDF installation failure
  • Date: Wed, 25 Aug 2010 16:24:28 -0600

Howdy Alex!

You must also link to the C++ library. Instead of -lnetcdf use:

-lnetcdf_c++ -lnetcdf

This will link to both the C++ and the C library.

Thanks,

Ed

Ticket Details
===================
Ticket ID: IEU-279311
Department: Support netCDF
Priority: Critical
Status: Closed