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.
Hugh, >Date: Wed, 16 Apr 2003 09:52:42 -0400 >From: Hugh Ellis <address@hidden> >Organization: Johns Hopkins University >To: address@hidden >Subject: netcdf issue The above message contained the following: > Following your suggestion, I'm trying to create netcdf using pgf90 and gcc > (instead of using pg c compilers) on a machine that runs Redhat 8.0 and am > getting repeated configure errors early on from the gnu linker e.g., > > configure:1946: /usr/pgi/linux86/bin/pgf77 -o conftest -O2 -pc 32 -Mlfs > -byteswapio conftestf.o conftest.o > > /usr/bin/ld: cannot find -lpgc > > Presumably, the library libpgc.a isn't being found. That is correct. The fact that the pqf77 compiler can't find the C runtime library that it, itself, requires indicates a problem with the installation of the PG compilers. You should bring this to the attention of your system administrator. Until this situation is rectified, there's not much that you can (or should) do about it. > There are many libpgc.a files - each one a different size - in the pg group > directory structure. Which one to use, and where to put it? Doesn't seem > plausible that I would have to hardwire this. You are correct in that it shouldn't be your responsibility. > Strange - using the same pg install procedure, this configure error didn't > happen earlier on another machine. That system probably had a correct installation of the PG compilers. > Thanks, > > Hugh Regards, Steve Emmerson