Sigourney > That did not work. I got the same exact error as in my previous email. > Here's what I'm putting into the terminal: > > setenv CC gcc > setenv CFLAGS -m64 > setenv CXX g++ > setenv CXXFLAGS -m64 > setenv FC gfortran > setenv FCFLAGS -m64 > setenv FFLAGS -m64 > setenv F77 gfortran > FC gfortran > setenv YLD_LIBRARY_PATH /usr/local/netcdf/lib Was the above a copy-and-paste error? You should have used setenv DYLD_LIBRARY_PATH /usr/local/netcdf/lib > setenv CPPFLAGS -I/usr/local/netcdf/include > setenv LDFLAGS -I/usr/local/netcdf/lib > ./configure --prefix=/usr/local/netcdf Please send us your config.log file for the failed Fortran build, and also the version of the netCDF C library you installed under /usr/local/netcdf. Also, what is the output from $ gcc --version $ gfortran --version Another way to get gfortran installed on a Mac OSX platform is to use the macports.org package management system, with: $ port netcdf-fortran --Russ > Thanks! > Sigourney > > > address@hidden> wrote: > > > Hi Sigourney, > > > > > I'm trying to build netcdf fortran with gfortran. I got an error during > > the > > > 'make check' stage of my build and it told me to contact you. Here's the > > > error: > > > > > > dyld: Symbol not found: _ncerr > > > Referenced from: > > > > > /Users/sastelma/downloads/netcdf-fortran-4.2/fortran/.libs/libnetcdff.5.dylib > > > Expected in: flat namespace > > > in > > > > > /Users/sastelma/downloads/netcdf-fortran-4.2/fortran/.libs/libnetcdff.5.dylib > > > /bin/sh: line 1: 51512 Trace/BPT trap: 5 ${dir}$tst > > > FAIL: nf_test > > > > > > *** Copying file with fill values. > > > *** SUCCESS! > > > PASS: create_fills.sh > > > dyld: Symbol not found: _ncerr > > > Referenced from: > > > > > /Users/sastelma/downloads/netcdf-fortran-4.2/fortran/.libs/libnetcdff.5.dylib > > > Expected in: flat namespace > > > in > > > > > /Users/sastelma/downloads/netcdf-fortran-4.2/fortran/.libs/libnetcdff.5.dylib > > > /bin/sh: line 1: 51537 Trace/BPT trap: 5 ${dir}$tst > > > FAIL: tst_f90 > > > ================================================ > > > 2 of 3 tests failed > > > Please report to address@hidden > > > ================================================ > > > > > > I'm not sure at all how to fix this issue. > > > > I assume you're following the build instructions here: > > > > http://www.unidata.ucar.edu/netcdf/docs/netcdf-fortran-install.html > > > > and that you're building on a Mac OSX platform, using shared libraries. > > > > Did you set the environment variable DYLD_LIBRARY_PATH to contain the > > library directory where the netCDF C library is installed, as mentioned > > in step 3 of the build instructions under "Using shared libraries"? If > > not, please try again with that environment variable set and let us know > > if that doesn't fix the problem. > > > > --Russ > > > > > Thank you, > > > Sigourney Stelma > > > > > > > > Russ Rew UCAR Unidata Program > > address@hidden http://www.unidata.ucar.edu > > > > > > > > Ticket Details > > =================== > > Ticket ID: SDC-125933 > > Department: Support netCDF > > Priority: Normal > > Status: Closed > > > > > > Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: SDC-125933 Department: Support netCDF Priority: Normal 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.