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 Fedor, > I found an issue in the netcdf-fortran library version 4.2. The > pkg-config's prefix info (as stored in the file > $(prefix)/lib/pkg-config/netcdf-fortran.pc file is always set to > /usr/local. But for some systems it is different, for example on > macports it is /opt/local (which causes this bug: > https://trac.macports.org/ticket/34317). > > This problem can be fixed by changing the first line of the file: > netcdf-fortran.pc.in > from: > prefix=/usr/local > to: > prefix=@prefix@ Thanks! This fix will appear in the next release. --Russ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: EHK-131137 Department: Support netCDF Priority: Normal Status: Closed