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.
Matthew, Assuming you are compiling with g77 or g95, you should be using one of those instead of /usr/bin/ld to link netCDF applications to the netCDF library. Did "make check" work OK? If so, you could look at how it compiled and linked the Fortran test examples and follow that pattern for your code. For example, if it used a -Df2cFortran flag on the compile/link line, you need to one too. You should use the same Fortran compiler that was specified in building the netCDF library. If that doesn't work, we'll need more information, as described in the "Reporting Problems" link on the netCDF home page: http://www.unidata.ucar.edu/software/netcdf/docs/netcdf-install/Reporting-Problems.html#Reporting-Problems --Russ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: FEZ-604468 Department: Support netCDF Priority: Normal Status: Closed