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.
> Hi, > > we have installed the latest netCDF 4.1.2 on 64 bit RHEL5 > > Here are the installation steps: > > export CPPFLAGS='-DNDEBUG -Df2cFortran' > export FC=/usr/bin/g77 > export F90=/usr/bin/f95 > export CFLAGS='-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE' > > ./configure --prefix=/path/to/netcdf/4.1.2 --disable-f90 --enable-netcdf-4 > > make > make check > make install > > The make check passed all tests. > > Now one of our users has reported that she can't compile her file > because libnetcdf.a is missing couple of symbols: > > nf_open__ > nf_inq_varid__ > nf_inq_var__ > > etc. > > When checking libnetcdf.a with nm I can't find any symbol starting with nf_ > > We also have netCDF 4.0 installed on RHWS4 (32 bit architecture) which > has all these symbols in libnetcdf.a. > > Do we miss something during the installation? How can we build > libnetcdf.a to include missing symbols there? > > Thank You > > Jerry Manukyan > > Howdy Jerry! The fortran library is now separate from the C library. Look for libnetcdff.a (note the extra "f" at the end). Good luck, Ed Ticket Details =================== Ticket ID: VEM-652223 Department: Support netCDF Priority: Normal Status: Closed