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 Ed > > I still get an error. The problem is that during compilation 'libtool' > looks in the install directory. Since installation has not been done it > is failing: > > libtool: link: mpif90 -shared .libs/fort-attio.o .libs/fort-control.o > .libs/fort-dim.o .libs/fort-genatt.o .libs/fort-geninq.o .libs/fort-genvar.o > .libs/fort-lib.o .libs/fort-misc.o .libs/fort-v2compat.o .libs/fort-vario.o > .libs/fort-var1io.o .libs/fort-varaio.o .libs/fort-varmio.o > .libs/fort-varsio.o .libs/fort-nc4.o --whole-archive > ../f90/.libs/libnetcdff90.a --no-whole-archive -rpath > /data/kb/compile/netcdf-4.1.3-rc1-snapshot2011060120/liblib/.libs -rpath > /opt/netcdf-4.1.3-rc1-snapshot2011060120_IFORT-par/lib -L/opt/hdf5-par/lib > ../liblib/.libs/libnetcdf.so -L/usr/lib /opt/hdf5-1.8.6-par/lib/libhdf5_hl.a > /opt/hdf5-1.8.6-par/lib/libhdf5.a -lz /usr/lib/libcurl-gnutls.so > -L/opt/mpich2-1.3.2p1-romio/lib > -L/data/opt/intel/composerxe-2011.2.137/compiler/lib/ia32 > -L/data/opt/intel/composerxe-2011.2.137/mkl/lib/ia32 > -L/usr/lib/gcc/i686-linux-gnu/4.4.5/ > -L/usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/ -L/lib/../lib/ > -L/usr/lib/../lib/ -L/data/opt/intel/composerxe-2011.2. 137/compiler/lib/ia32/ -L/data/opt/intel/composerxe-2011.2.137/mkl/lib/ia32/ -L/usr/lib/gcc/i686-linux-gnu/4.4.5/../../../ -L/lib/ -L/usr/lib/ -L/usr/lib/i686-linux-gnu -lmpichf90 -lmpich /opt/mpich2-1.3.2p1-romio/lib/libopa.a /opt/mpich2-1.3.2p1-romio/lib/libmpl.a -lrt -lpthread -lifport -lifcore -limf -lsvml -lm -lipgo_pic -lintlc -lgcc_s -lirc_s -ldl -lc -soname libnetcdff.so.5 -o .libs/libnetcdff.so.5.1.0 > ifort: command line warning #10006: ignoring unknown option '-fwhole-archive' > ifort: command line warning #10006: ignoring unknown option > '-fno-whole-archive' > ifort: command line warning #10156: ignoring option '-r'; no argument required > ifort: command line warning #10156: ignoring option '-r'; no argument required > ifort: error #10236: File not found: > '/opt/netcdf-4.1.3-rc1-snapshot2011060120_IFORT-par/lib' > > ^^^^^^^ > > the fatal error > > > ifort: command line warning #10156: ignoring option '-s'; no argument > required > ifort: error #10236: File not found: 'libnetcdff.so.5' > make[3]: *** [libnetcdff.la] Error 1 > > on top of the above error "find . -name libnetcdff.so.5 -print" gives > nothing > > > > make[3]: Leaving directory > `/data/kb/compile/netcdf-4.1.3-rc1-snapshot2011060120/fortran' > make[2]: *** [all] Error 2 > make[2]: Leaving directory > `/data/kb/compile/netcdf-4.1.3-rc1-snapshot2011060120/fortran' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > `/data/kb/compile/netcdf-4.1.3-rc1-snapshot2011060120' > make: *** [all] Error 2 > > > Karsten > > > On Wed, Jun 01, 2011 at 02:42:16 -0600, Unidata netCDF Support wrote: > > > Hi Ed > > > > > > here it comes > > > > > > Karsten > > > > > > > Howdy Karsten! > > > > I have made a few changes in the build system, and I wonder if you could > > give it another try. Also, please try with --disable-shared as a configure > > option to see if that works. > > > > ftp://ftp.unidata.ucar.edu/pub/netcdf/snapshot/netcdf-4-daily.tar.gz > > > > Thanks, > > > > Ed > > > > Ticket Details > > =================== > > Ticket ID: LEF-356666 > > Department: Support netCDF > > Priority: Urgent > > Status: Closed > > > > > > -- > ---------------------------------------------------------------------- > Karsten Bolding Tel: +45 64422092 > Strandgyden 25 Fax: +45 64422068 > DK-5466 Asperup E-mail: address@hidden > > http://www.findvej.dk/Strandgyden25,5466,7,3 > ---------------------------------------------------------------------- > > Does this still happen when you configure with --disable-shared? Also, you should be doing a make distclean between each attempt at building netCDF. Thanks, Ed Ticket Details =================== Ticket ID: LEF-356666 Department: Support netCDF Priority: Urgent Status: Closed