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 Dian,
Sorry to have taken so long to repond to your netCDF question.
> I'm again installing NetCDF.
> This time is on Mac OS X ver. 10.9.2.
> It has been pass on config. test, but it failed on make.
> Here attached config.log and make.out.
> Maybe anyone can helps on it.
> Thank you in advance for the help.
From your config.log, there seems to be a problem using the gfortran you built
to link
with the needed runtime libraries:
configure:24602: gfortran -o conftest -g -O2 conftestf.o conftest.o -lcurl
configure:24605: $? = 0
configure:24608: ./conftest
dyld: Library not loaded: /usr/local/lib/libgfortran.3.dylib
Referenced from:
/Users/dhandiani/Downloads/PROGRAMS/NETCDF/netcdf-4.1.3/./conftest
Reason: image not found
./configure: line 24609: 31601 Trace/BPT trap: 5 ./conftest
configure:24611: $? = 133
Apparently, the gfortran is expecting its runtime library, libgfortran, to be
installed in /usr/local/lib,
but it's not there.
In addition to that problem, you are using a fairly old version 4.1.3 from June
2011, which is no
longer actively supported. The current version of netCDF C is 4.3.2, and the
most recent version
of netCDF Fortran is 4.2. They are now in separate packages, requiring that
you first build and
install the netCDF C library before building and installing the netCDF-Fortran
library, using these
instructions:
http://www.unidata.ucar.edu/software/netcdf/docs/building_netcdf_fortran.html
--Russ
Russ Rew UCAR Unidata Program
address@hidden http://www.unidata.ucar.edu
Ticket Details
===================
Ticket ID: OWT-186843
Department: Support netCDF
Priority: Emergency
Status: Closed