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 Michael, > netcdf 4.1.3 fails to build with TAU > > Please see attached output from > make check install 2>&1 | tee -a mkb_makeCheckInstall_optRevert > where the build/check fails. It looks like the error that causes the other failures is: ld: /usr/bin/../lib64/libbfd.a(bfd.o): relocation R_X86_64_32 against `bfd_section_hash_newfunc' can not be used when making a shared object; recompile with -fPIC /usr/bin/../lib64/libbfd.a: could not read symbols: Bad value I don't know anything about taucc, the C compiler wrapper for TAU, but you might try doing whatever is necessary to include the "-fPIC" option when it invokes the C compiler. If that doesn't work, all I can suggest is building a static library by using the confgure option "--disable-shared" when you invoke the netCDF configure script. If either of those work, please let us know. --Russ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: AUY-714188 Department: Support netCDF Priority: Normal Status: Closed