Larry Baker wrote:
...
> My build does not have a library named libnetcdff.a, so I'm not sure
> if we are configuring netCDF the same way:
Starting with version 3.6.2, building separate Fortran libraries was
required for shared library builds. In previous releases, the C and
Fortran functions were in the same static library. In current releases,
when you enable shared libraries an additional library, libnetcdff (note
the extra "f"), contains the Fortran-77 and Fortran-90 functions. This
extra Fortran library is built when either --enable-shared or
--enable-separate-fortran are specified as configure options. Using
--enable-shared automatically turns on --enable-separate-fortran.
One reason you may want to use the --enable-separate-fortran option is
to support multiple netCDF Fortran libraries for different Fortran
compilers.
--Russ