Howdy all!
Several users have reported the same problem - that the Fortran library
must now be explicitly linked, whereas previous releases allowed the C
library to be built right into the C library.
Since the Fortran library is no longer built into the C library, it must
be linked with -lnetcdff (note the extra "f").
If you build with shared libraries (the default) then this is all that
is necessary. If you build with static libraries only, then you must
also specify -lnetcdf and any other libraries that were used when netCDF
was built.
Recently it was suggested that I add an option to the C library
configure, so that Fortran could still be built into the C library, for
those projects that did not feel they had adequate control over their
makefiles to change the libraries. But this turned out to involve far
too much baggage in the build, and proved impossible.
As always, please send any feedback or questions to
support-netcdf@xxxxxxxxxxxxxxxx.
Thanks,
Ed
--
Ed Hartnett -- ed@xxxxxxxxxxxxxxxx