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

[netCDF #KCB-778033]: trouble shooting while installing NCO

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 #KCB-778033]: trouble shooting while installing NCO
  • Date: Mon, 08 Oct 2007 13:47:55 -0600

Hi Sandeep,

To compile the netCDF libraries as shared, you need to specify
"--enable-shared" as a flag to the
"configure" script when building netCDF from source.  An example of the output
from the build
process you should expect on Linux when building 3.6.2 shared libraries is
here:

  http://www.unidata.ucar.edu/software/netcdf/builds/3_6_2/nc3_t4_out.txt

The configure script will determine the flags needed for building shared
libraries, so you should
not have to specify CFLAGS="-fPIC" as an environment variable.

--Russ

Russ Rew                                         UCAR Unidata Program
address@hidden                     http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: KCB-778033
Department: Support netCDF
Priority: Normal
Status: Closed