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.
Hello Michael, That is odd; can you provide the `config.log` file generated when you ran configure? Also, can you tell me what version of libtool you are using? I will try to duplicate this issue, but I do not see a problem in any of our linux environments. Thanks! -Ward > Hello, > > I am trying to build netcdf-fortran-4.4.2 on a RHEL6 box. The "make > check" fails with the following libtool error: > > /bin/sh ../libtool --tag=F77 --mode=link -I../fortran > -I../fortran -L/usr/local/netcdf-4.3.3.1/li > b -o nf_test f03lib_f_interfaces.o test_get.o test_put.o nf_error.o > nf_test.o test_read.o test_write.o ut > il.o f03lib.o ../fortran/libnetcdff.la > Usage: /scratch/mpv/netcdf/netcdf-fortran-4.4.2/libtool [OPTION]... > [MODE-ARG]... > Try 'libtool --help' for more information. > libtool: error: unrecognised option: '-I../fortran' > make[2]: *** [nf_test] Error 1 > make[2]: Leaving directory > `/scratch/mpv/netcdf/netcdf-fortran-4.4.2/nf_test' > make[1]: *** [check-am] Error 2 > make[1]: Leaving directory > `/scratch/mpv/netcdf/netcdf-fortran-4.4.2/nf_test' > make: *** [check-recursive] Error 1 > [root@omega netcdf-fortran-4.4.2]# > > I tried an older version (netcdf-fortran-4.4.1) and the "make check" > failed quicky with a different libtool error. > > make[2]: Entering directory `/scratch/netcdf/netcdf-fortran-4.4.1/fortran' > /bin/sh ../libtool --tag=FC --mode=compile -g -O2 -c -o > typeSizes.lo typeSizes.f90 > libtool: compile: unrecognized option `-g' > libtool: compile: Try `libtool --help' for more information. > make[2]: *** [typeSizes.lo] Error 1 > make[2]: Leaving directory `/scratch/netcdf/netcdf-fortran-4.4.1/fortran' > make[1]: *** [check] Error 2 > make[1]: Leaving directory `/scratch/netcdf/netcdf-fortran-4.4.1/fortran' > make: *** [check-recursive] Error 1 > > > Any ideas? > > Thanks, > Mike > > -- > Michael Vrencur > Ace Info Solutions, Inc. (AceInfo) Supporting NOAA > Advanced Technology and Outreach Branch > Global Systems Division / Earth System Research Laboratory > address@hidden > 303.497.7526 > > > Ticket Details =================== Ticket ID: SZI-220177 Department: Support netCDF Priority: Normal Status: Closed