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.
Oops, that last line got mangled: > Most of the other libraries are just needed for the OPeNDAP client support. > "-L/usr/local/gfortran/lib -lnetcdf". It should have been: If you build shared libraries with the --enable-shared configure option, linking can get dramatically simpler, because the shared libraries "know" what they depend on so you don't need to. With shared libraries, you might only need "-L/usr/local/gfortran/lib -lnetcdf". > If you build with --enable-shared, linking can get dramatically simpler, as > the dynamically loaded libraries "know" what they depend on, so you don't > have to. With a shared build, you might only need > > Thanks! > > -Rich > > > > > > > Also, if you installed nc-config along with the other netCDF utilities > > > like ncgen and ncdump, you should look at the output from > > > > > > nc_config --flibs > > > > > > which will show how Fortrna programs should be linked with your > > > installation. > > > > > > If none of these solve the problem, please let us know ... > > > > > > --Russ > > > > > > Russ Rew UCAR Unidata Program > > > address@hidden http://www.unidata.ucar.edu > > > > > > > > > > > > Ticket Details > > > =================== > > > Ticket ID: CAF-785846 > > > Department: Support netCDF > > > Priority: Normal > > > Status: Closed > > > > > > > > > > > > > > -- > > Dr. Richard P. Signell (508) 457-2229 > > USGS, 384 Woods Hole Rd. > > Woods Hole, MA 02543-1598 > > > > > > Russ Rew UCAR Unidata Program > address@hidden http://www.unidata.ucar.edu > > Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: CAF-785846 Department: Support netCDF Priority: Normal Status: Closed