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 there, > > I am trying to build NCAR's CAM3.1 on an AIX 5.3 machine but am having some > Netcdf library issues at the very end of my build. I installed Netcdf > version 3.6.2 using the following commands: > > ./configure --prefix=/my/home/directory --enable-64bit > make > make check > make install > > However, the error at the end of my CAM build is: > > h.o zm_conv.o -L/gpfs/home/hanson/ginah/netcdf/lib -lnetcdf > -L/gpfs/home/hanson/ginah/cam31/work/camrun.1/bld/esmf/lib/libO/rs6000_64 > -lesmf - > q64 -lmass -qsmp=omp > ld: 0711-317 ERROR: Undefined symbol: .nf_strerror > ld: 0711-317 ERROR: Undefined symbol: .nf_close > ld: 0711-317 ERROR: Undefined symbol: .nf_put_vara_double > ld: 0711-317 ERROR: Undefined symbol: .nf_put_vara_real > ld: 0711-317 ERROR: Undefined symbol: .nf_open > ld: 0711-317 ERROR: Undefined symbol: .nf_def_var > ld: 0711-317 ERROR: Undefined symbol: .nf_put_att_text > ld: 0711-317 ERROR: Undefined symbol: .nf_put_vara_int > ld: 0711-317 ERROR: Undefined symbol: .nf_inq_varid > ld: 0711-317 ERROR: Undefined symbol: .nf_inq_dimid > ld: 0711-317 ERROR: Undefined symbol: .nf_inq_dimlen > ld: 0711-317 ERROR: Undefined symbol: .nf_get_var_int > ld: 0711-317 ERROR: Undefined symbol: .nf_get_var_double > ld: 0711-317 ERROR: Undefined symbol: .nf_put_vara_text > ld: 0711-317 ERROR: Undefined symbol: .nf_create > ld: 0711-317 ERROR: Undefined symbol: .nf_set_fill > ld: 0711-317 ERROR: Undefined symbol: .nf_def_dim > ld: 0711-317 ERROR: Undefined symbol: .nf_put_att_double > ld: 0711-317 ERROR: Undefined symbol: .nf_enddef > ld: 0711-317 ERROR: Undefined symbol: .nf_put_var_double > ld: 0711-317 ERROR: Undefined symbol: .nf_put_var_int > ld: 0711-317 ERROR: Undefined symbol: .nf_inq_varname > ld: 0711-317 ERROR: Undefined symbol: .nf_get_vara_double > ld: 0711-317 ERROR: Undefined symbol: .nf_inq_vardimid > ld: 0711-317 ERROR: Undefined symbol: .nf_inq_unlimdim > ld: 0711-317 ERROR: Undefined symbol: .nf_inq_var > ld: 0711-317 ERROR: Undefined symbol: .nf_inq_attid > ld: 0711-317 ERROR: Undefined symbol: .nf_put_att_int > ld: 0711-317 ERROR: Undefined symbol: .nf_inq_attlen > ld: 0711-317 ERROR: Undefined symbol: .nf_get_att_text > ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more > information. > make: *** [/gpfs/home/hanson/ginah/cam31/work/camrun.1/bld/cam] Error 8 > > The Makefile has the correct paths to my lib and include files but I still > get these errors. Am I missing or have I not installed some libraries? Any > suggestions would be greatly appreciated. > > Thanks, Gina. > > > -- > Gina Henderson > Department of Geography > 215 Pearson Hall > University of Delaware > Newark DE > 19718-2541 > > Email: address@hidden > Ph: 302-831-2344 > > Sorry, but the --enable-64bit option is not supported in 3.6.2. Did "make check" succeed for netCDF? If so, did the tests in subdirectory nf_test run? To try, go to the nf_test directory and run "make check" If it fails, probably you need to set the flags to support the 64-bit build for your system. See here for info: http://www.unidata.ucar.edu/software/netcdf/docs/netcdf-install/Building-on-64-Bit-Platforms.html Thanks, Ed Ticket Details =================== Ticket ID: HXY-319608 Department: Support netCDF Priority: Normal Status: Closed