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.
Pascale, > Date: Fri, 07 Jul 2000 13:44:40 -0700 (14:44 MDT) > From: Pascale Lherminier <address@hidden> > To: Steve Emmerson <address@hidden> > Subject: can't link with the library on a SGI 6.3 (or 6.5) > Keywords: 200007072044.e67KigT10888 In the above message, you wrote: > I already bothered you a while ago concerning our J90. It works > very well now, and I need the netcdf library on my SGI. > I installed the netcdf library without any trouble. However, > when I'm trying to compile a basic fortran program by the manual > command > > f77 -I/d/span9/pascale/NETCDF/netcdf-3.4/include > -L/d/span9/pascale/NETCDF/netcdf-3.4/lib -lnetcdf > ncexample2.f > > it follows : > > ld32: WARNING 84 : /d/span9/pascale/NETCDF/netcdf-3.4/lib/libnetcdf.a is not > used for resolving any > symbol. > ld32: ERROR 33 : Unresolved text symbol "nf_create_" -- 1st referenced by > ncexample2.o. It appears that you linker can't find the Fortran entry-points in the netCDF library. What does the following command produce on your system: /usr/bin/nm -rg /d/span9/pascale/NETCDF/netcdf-3.4/lib/libnetcdf.a | grep nf_create On my IRIX 6.5 system, the equivalent command produces the following: [57] | 216| |Proc |ref=1 |Text | fort-control.o:nf_create_ This indicates that the "fort-control.o" module in the netCDF library contains the entry-point "nf_create_" (which your linker didn't find in your netCDF library). Regards, Steve Emmerson <http://www.unidata.ucar.edu>