Greetings Leif, Let's try this - set lt_cv_ld_force_load=no before the configure command: lt_cv_ld_force_load=no ./configure --prefix=/opt/netcdf3/gfortran Also, before re-configuring, set your environmental flags the following way: export FC=gfortran export F77=gfortran export CFLAGS='-arch i386' export FFLAGS='-g -O2 -m32' export FCFLAGS='-g -O2 -m32' Make sure to execute a make clean before re-configuring. Cheers! Sean > Thank you for the response I tried exporting FFLAGS and CFLAGS as you > recommended and I still receive the same error messages. I am using a > cookbook guide to installing netcdf from Dr. MacCready's website > http://faculty.washington.edu/pmacc/roms_mac_notes.html and I don't know > if I am going wrong somewhere else. Thank you very much for your time. > > Leif > On 8/26/11 12:29 PM, Unidata netCDF Support wrote: > > Greetings Leif, > > > > Your error log indicates there is a cpu architecture mismatch in your > > libraries. Your CFLAGS variable indicates that you would like to build 32 > > bit libs. If this is the case, you will need to modify both your CFLAGS and > > FFLAGS as such: > > > > FFLAGS='-O3 -m32' > > CFLAGS='-arch i386' > > > > Note that -m32 -m64 flags are for gfortran 32/64-bit; gcc expects -arch > > i386 or -arch x86_64. > > > > Cheers! > > > > Sean > > > >> Full Name: Leif Rasmuson > >> Email Address: address@hidden > >> Organization: University of ORegon > >> Package Version: 3.6.3 > >> Operating System: MAC OS 10.6.8 > >> Hardware: > >> > >> Description of problem: I am attempting to install netcdf and have been > >> using the following commands before running the ./configure: > >> > >> > >> d70-134:netcdf-3.6.3 lrasmuson$ export FC=gfortran > >> d70-134:netcdf-3.6.3 lrasmuson$ export F77=gfortran > >> d70-134:netcdf-3.6.3 lrasmuson$ export F90=gfortran > >> d70-134:netcdf-3.6.3 lrasmuson$ export FFLAGS='-O3' > >> d70-134:netcdf-3.6.3 lrasmuson$ export CFLAGS='-m32' > >> d70-134:netcdf-3.6.3 lrasmuson$ ./configure --prefix=/opt/netcdf3/gfortran > >> > >> the configure appears to run ok but I receive the following errors after > >> running $ make check > >> > >> ld: symbol(s) not found > >> collect2: ld returned 1 exit status > >> make[2]: *** [nctst] Error 1 > >> make[1]: *** [check-am] Error 2 > >> make: *** [check-recursive] Error 1 > >> > >> I have included a more complete copy of the output as an attached text > >> file if that helps. > >> > >> Thank you Leif > >> > >> > > > > Ticket Details > > =================== > > Ticket ID: OFP-755631 > > Department: Support netCDF > > Priority: Normal > > Status: Open > > > > > -- > Leif K. Rasmuson > > PhD Student > Oregon Institute of Marine Biology > Phone: (253)961-1763 > E-Mail: address@hidden > ><((((Â>`Â.ÂÂ.ÂÂÂ`Â...Â><((((Â> > > Ticket Details =================== Ticket ID: OFP-755631 Department: Support netCDF Priority: Normal Status: Open
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.