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.
KiChul, > I am attaching the new log files. You're "make.log" file contained this: > gcc -shared NetCDF.o -o blib/arch/auto/NetCDF/NetCDF.so > -L/home/ckc/netcdf/netcdf-3.6.3/Linux2_x86_64_pgf90_pgcc/lib -lnetcdf > /usr/bin/ld: > /home/ckc/netcdf/netcdf-3.6.3/Linux2_x86_64_pgf90_pgcc/lib/libnetcdf.a(putget.o): > relocation R_X86_64_32S against `a local symbol' can not be used when making > a shared object; recompile with -fPIC /home/ckc/netcdf/netcdf-3.6.3/Linux2_x86_64_pgf90_pgcc/lib/libnetcdf.a: could not read symbols: Bad value > collect2: ld returned 1 exit status Your netCDF library was, apparently, not compiled in a way that makes it available as a loadable module. It will have to be recompiled and reinstalled using the "-fPIC" option in the CFLAGS environment variable. Once that is done, you should be able to build the netCDF-Perl package. Regards, Steve Emmerson Ticket Details =================== Ticket ID: CZI-200112 Department: Support netCDF Perl Priority: Normal Status: Closed