NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
Hi Jim, > Everything builds okay but when I try to run the tests I get a failure to > link the fortran: > > libtool: link: ifort -I../fortran -I../f90 -I../f90 -I../include -I../oc -g > -o .libs/tst_f90 tst_f90.o ../fortran/.libs/libnetcdff.dylib > /Users/jedwards/src/netcdf-4.1.3/liblib/.libs/libnetcdf.dylib -lm -lz -lcurl > Undefined symbols for architecture x86_64: > "_typesizes_mp_bytesizesok_", referenced from: > _MAIN__ in tst_f90.o Setting the environment variable lt_cv_ld_force_load=no (an internal configure variable from libtool) before invoking the configure script. This workaround successfully builds netCDF version 4.1.3 with the Intel ifort Fortran compiler (ifort version 12.1, but perhaps also earlier versions) on Mac OS X 10.7 (Lion and perhaps earlier versions). More details are here: http://www.unidata.ucar.edu/netcdf/docs/known_problems.html#intel-fortran-macosx Thanks to new Unidata staff member Sean Arms for pointing out this solution and to Dave Allured (NOAA/PSD/CIRES) for providing another work-around that pointed the way. --Russ
netcdfgroup
archives: