[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #OWT-186843]: NetCDF make problem on Mac OS



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


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.