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 Trevor, Using the "-fPIC" C and C++ compiler option should work fine. If you want extra confidence in the library you built, make sure you run "make check" from the top level source file after building the library. That runs more tan 100,000 tests on the library code, including every interface function. The most recent beta release will also support dynamic linking when the --enable-shared option is used with configure, but that is not the default. --Russ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: ZSJ-783149 Department: Support netCDF Priority: Normal Status: Closed