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.
> Oops. I forgot one had to explicitly redirect the stderr (durrr...) > ./configure FC=f95 F77=g77 CC=gcc CXX=g++ --prefix=/users/lptl/wong/apps > > probconf 2>&1 > make check >probmake 2>&1 > make install >probmakeinstall 2>&1 > > Unidata netCDF Support wrote: > >> I'm just wanting to install netCDF to be able to use MMTK. > >> > >> I don't remember the installation being problematic before (I don't > >> remember having to declare so many environment variables) > >> > >> Version : 3.6.2 > >> ./configure FC=f95 F77=g77 CC=gcc CXX=g++ > >> --prefix=/users/lptl/wong/apps > probconf > >> make check > probmake > >> > >> > > > > Howdy! > > > > I did not see the output from the make check - did all the tests succeed? > > > > Did you then do a make install? > > > > What makes you think something is wrong? There is no error message in the make output you sent. > > > > Please let me know if I am missing something... > > > > Thanks! > > > > Ed > > > > Ticket Details > > =================== > > Ticket ID: IJK-126633 > > Department: Support netCDF > > Priority: Normal > > Status: Open > > > > > > > configure: netCDF 3.6.2 > checking build system type... x86_64-unknown-linux-gnu > checking host system type... x86_64-unknown-linux-gnu > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > configure: checking user options > checking whether CXX is set to ''... no > checking whether FC is set to ''... no > checking whether F90 is set to ''... no > checking whether documentation is to be installed... no > checking whether Fortran compiler(s) should be tested during configure... yes > checking whether configure should try to set compiler flags... yes > checking whether FFIO will be used... no > checking whether to skip C++, F77, or F90 APIs if compiler is broken... yes > checking whether only the C library is desired... no > checking whether examples should be built... yes > checking whether F77 API is desired... yes > checking whether F90 API is desired... yes > checking whether fortran type sizes should be checked... yes > checking whether C API is desired... yes > checking where to get netCDF C-only library for separate fortran libraries... > checking whether CXX API is desired... yes > checking whether v2 netCDF API should be built... yes > checking whether the ncgen/ncdump should be built... yes > checking whether large file (> 2GB) tests should be run... no > checking whether extreme numbers should be used in tests... yes > checking where to put large temp files if large file tests are run... . > checking whether a win32 DLL is desired... no > checking whether separate fortran libs are desired... no > configure: finding C compiler > checking for C compiler default output file name... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ISO C89... none needed > checking for style of include used by make... GNU > checking dependency style of gcc... gcc3 > checking whether gcc and cc understand -c and -o together... yes > checking for an ANSI C-conforming const... yes > configure: finding Fortran compiler (will not be used if Fortran API is not desired) > checking whether we are using the GNU Fortran compiler... yes > checking whether f95 accepts -g... yes > checking whether we are using the GNU Fortran 77 compiler... yes > checking whether g77 accepts -g... yes > configure: setting up Fortran 90 > checking for Fortran flag to compile .f90 files... none > checking fortran 90 modules inclusion flag... -I > checking if Fortran compiler can handle Fortran-90... yes > configure: finding C++ compiler (will not be used if C++ API is not desired) > checking whether we are using the GNU C++ compiler... yes > checking whether g++ accepts -g... yes > checking dependency style of g++... gcc3 > checking for a sed that does not truncate output... /bin/sed > checking for grep that handles long lines and -e... /bin/grep > checking for egrep... /bin/grep -E > checking for fgrep... /bin/grep -F > checking for ld used by gcc... /usr/bin/ld > checking if the linker (/usr/bin/ld) is GNU ld... yes > checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B > checking the name lister (/usr/bin/nm -B) interface... BSD nm > checking whether ln -s works... yes > checking the maximum length of command line arguments... 32768 > checking whether the shell understands some XSI constructs... yes > checking whether the shell understands "+="... yes > checking for /usr/bin/ld option to reload object files... -r > checking how to recognise dependent libraries... pass_all > checking for ar... ar > checking for strip... strip > checking for ranlib... ranlib > checking command to parse /usr/bin/nm -B output from gcc object... ok > checking how to run the C preprocessor... gcc -E > checking for ANSI C header files... yes > checking for sys/types.h... yes > checking for sys/stat.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... yes > checking for unistd.h... yes > checking for dlfcn.h... yes > checking whether we are using the GNU C++ compiler... (cached) yes > checking whether g++ accepts -g... (cached) yes > checking dependency style of g++... (cached) gcc3 > checking how to run the C++ preprocessor... g++ -E > checking whether we are using the GNU Fortran 77 compiler... (cached) yes > checking whether g77 accepts -g... (cached) yes > checking whether we are using the GNU Fortran compiler... (cached) yes > checking whether f95 accepts -g... (cached) yes > checking for objdir... .libs > checking if gcc supports -fno-rtti -fno-exceptions... no > checking for gcc option to produce PIC... -fPIC -DPIC > checking if gcc PIC flag -fPIC -DPIC works... yes > checking if gcc static flag -static works... yes > checking if gcc supports -c -o file.o... yes > checking if gcc supports -c -o file.o... (cached) yes > checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes > checking dynamic linker characteristics... GNU/Linux ld.so > checking how to hardcode library paths into programs... immediate > checking whether stripping libraries is possible... yes > checking if libtool supports shared libraries... yes > checking whether to build shared libraries... no > checking whether to build static libraries... yes > checking for ld used by g++... /usr/bin/ld -m elf_x86_64 > checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes > checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes > checking for g++ option to produce PIC... -fPIC -DPIC > checking if g++ PIC flag -fPIC -DPIC works... yes > checking if g++ static flag -static works... no > checking if g++ supports -c -o file.o... yes > checking if g++ supports -c -o file.o... (cached) yes > checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes > checking dynamic linker characteristics... GNU/Linux ld.so > checking how to hardcode library paths into programs... immediate > checking if libtool supports shared libraries... yes > checking whether to build shared libraries... no > checking whether to build static libraries... yes > checking for g77 option to produce PIC... -fPIC > checking if g77 PIC flag -fPIC works... yes > checking if g77 static flag -static works... no > checking if g77 supports -c -o file.o... yes > checking if g77 supports -c -o file.o... (cached) yes > checking whether the g77 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes > checking dynamic linker characteristics... GNU/Linux ld.so > checking how to hardcode library paths into programs... immediate > checking if libtool supports shared libraries... yes > checking whether to build shared libraries... no > checking whether to build static libraries... yes > checking for f95 option to produce PIC... -fPIC > checking if f95 PIC flag -fPIC works... yes > checking if f95 static flag -static works... no > checking if f95 supports -c -o file.o... yes > checking if f95 supports -c -o file.o... (cached) yes > checking whether the f95 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes > checking dynamic linker characteristics... GNU/Linux ld.so > checking how to hardcode library paths into programs... immediate > configure: finding other utilities > checking for a BSD-compatible install... /usr/bin/install -c > configure: trying to set fortran flags for this platform > configure: trying to set flags for this platform > checking if _HPUX_SOURCE should be set... no > checking if Solaris -Xa option is needed... CFLAGS=-g -O2 > configure: trying to set fortran 90 flags for this platform > checking if we need to add to FFLAGS for ifort compiler... FFLAGS=-g -O2 > checking if we need to set _LARGE_FILES despite results of previous tests... _LARGE_FILES= > checking for special C compiler options needed for large files... no > checking for _FILE_OFFSET_BITS value needed for large files... no > configure: displaying some results > checking CPPFLAGS... -I/users/lptl/wong/apps/include > checking CC CFLAGS... gcc -g -O2 > checking type gcc... gcc is /usr/lib64/ccache/gcc > checking CXX... g++ > checking CXXFLAGS... -g -O2 > checking type g++... g++ is /usr/lib64/ccache/g++ > checking FC... f95 > checking FFLAGS... -g -O2 > checking type f95... f95 is /usr/bin/f95 > checking F90... f95 > checking F90FLAGS... > checking type f95... f95 is /usr/bin/f95 > checking AR... ar > checking ARFLAGS... > checking type ar... ar is /usr/bin/ar > checking NM... /usr/bin/nm -B > checking NMFLAGS... > checking for /usr/bin/nm... /usr/bin/nm -B > checking nm flags... > checking for C-equivalent to Fortran routine "SUB"... sub_ > checking for Fortran "byte"... yes > checking for Fortran "integer*2"... yes > checking if Fortran "byte" is C "signed char"... yes > checking if Fortran "byte" is C "short"... no > checking if Fortran "byte" is C "int"... no > checking if Fortran "byte" is C "long"... no > checking if Fortran "integer*2" is C "short"... yes > checking if Fortran "integer*2" is C "int"... no > checking if Fortran "integer*2" is C "long"... no > checking if Fortran "integer" is C "int"... yes > checking if Fortran "real" is C "float"... yes > checking if Fortran "doubleprecision" is C "double"... yes > checking for Fortran-equivalent to netCDF "byte"... byte > checking for Fortran-equivalent to netCDF "short"... integer*2 > checking if Fortran 90 compiler capitalizes .mod filenames... no > configure: checking types, headers, and functions > checking for stdlib.h... (cached) yes > checking for sys/types.h... (cached) yes > checking for strlcat... no > checking for strerror... yes > checking for working alloca.h... yes > checking for alloca... yes > checking for struct stat.st_blksize... yes > checking for IEEE floating point format... yes > checking for size_t... yes > checking for off_t... yes > checking for ssize_t... yes > checking for ptrdiff_t... yes > checking for uchar... no > checking whether char is unsigned... no > checking whether byte ordering is bigendian... no > checking for short... yes > checking size of short... 2 > checking for int... yes > checking size of int... 4 > checking for long... yes > checking size of long... 8 > checking for float... yes > checking size of float... 4 > checking for double... yes > checking size of double... 8 > checking for off_t... (cached) yes > checking size of off_t... 8 > checking for size_t... (cached) yes > checking size of size_t... 8 > checking for manual-page index command... > checking binary distribution directory... /home/ftp/pub/binary/dummy_system > configure: generating header files and makefiles > configure: creating ./config.status > config.status: creating Makefile > config.status: creating man/Makefile > config.status: creating fortran/Makefile > config.status: creating libsrc/Makefile > config.status: creating nctest/Makefile > config.status: creating nc_test/Makefile > config.status: creating ncdump/Makefile > config.status: creating ncgen/Makefile > config.status: creating nf_test/Makefile > config.status: creating cxx/Makefile > config.status: creating f90/Makefile > config.status: creating examples/Makefile > config.status: creating examples/C/Makefile > config.status: creating examples/CDL/Makefile > config.status: creating examples/CXX/Makefile > config.status: creating examples/F90/Makefile > config.status: creating examples/F77/Makefile > config.status: creating config.h > config.status: config.h is unchanged > config.status: creating fortran/nfconfig1.inc > config.status: executing depfiles commands > config.status: executing libtool commands > Making check in f90 > make[1]: Entering directory `/users/lptl/wong/Desktop/netcdf-3.6.2/f90' > /bin/sh ../libtool --mode=compile f95 -I../libsrc -I. -g -O2 -c -o typeSizes.lo typeSizes.f90 > libtool: compile: f95 -I../libsrc -I. -g -O2 -c typeSizes.f90 -o typeSizes.o > /bin/sh ../libtool --mode=compile f95 -I../libsrc -I. -g -O2 -c -o netcdf.lo netcdf.f90 > libtool: compile: f95 -I../libsrc -I. -g -O2 -c netcdf.f90 -o netcdf.o > /bin/sh ../libtool --mode=link f95 -I../libsrc -I. -g -O2 -L/users/lptl/wong/apps/lib -L/users/lptl/wong/fftw/lib -o libnetcdff90.la typeSizes.lo netcdf.lo > libtool: link: warning: library `/users/lptl/wong/apps/lib/libgfortranbegin.la' was moved. > libtool: link: warning: library `/users/lptl/wong/apps/lib/libgfortran.la' was moved. > libtool: link: ar cru .libs/libnetcdff90.a typeSizes.o netcdf.o > libtool: link: ranlib .libs/libnetcdff90.a > libtool: link: creating libnetcdff90.la > libtool: link: ( cd ".libs" && rm -f "libnetcdff90.la" && ln -s "../libnetcdff90.la" "libnetcdff90.la" ) > make[1]: Leaving directory `/users/lptl/wong/Desktop/netcdf-3.6.2/f90' > Making check in fortran > make[1]: Entering directory `/users/lptl/wong/Desktop/netcdf-3.6.2/fortran' > depbase=`echo fort-attio.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \ > if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -I/users/lptl/wong/apps/include -g -O2 -MT fort-attio.lo -MD -MP -MF "$depbase.Tpo" -c -o fort-attio.lo fort-attio.c; \ > then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -I/users/lptl/wong/apps/include -g -O2 -MT fort-attio.lo -MD -MP -MF .deps/fort-attio.Tpo -c fort-attio.c -o fort-attio.o > depbase=`echo fort-control.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \ > if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -I/users/lptl/wong/apps/include -g -O2 -MT fort-control.lo -MD -MP -MF "$depbase.Tpo" -c -o fort-control.lo fort-control.c; \ > then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -I/users/lptl/wong/apps/include -g -O2 -MT fort-control.lo -MD -MP -MF .deps/fort-control.Tpo -c fort-control.c -o fort-control.o > depbase=`echo fort-dim.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \ > if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -I/users/lptl/wong/apps/include -g -O2 -MT fort-dim.lo -MD -MP -MF "$depbase.Tpo" -c -o fort-dim.lo fort-dim.c; \ > then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -I/users/lptl/wong/apps/include -g -O2 -MT fort-dim.lo -MD -MP -MF .deps/fort-dim.Tpo -c fort-dim.c -o fort-dim.o > depbase=`echo fort-genatt.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \ > if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -I/users/lptl/wong/apps/include -g -O2 -MT fort-genatt.lo -MD -MP -MF "$depbase.Tpo" -c -o fort-genatt.lo fort-genatt.c; \ > then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -I/users/lptl/wong/apps/include -g -O2 -MT fort-genatt.lo -MD -MP -MF .deps/fort-genatt.Tpo -c fort-genatt.c -o fort-genatt.o > depbase=`echo fort-geninq.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \ > if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -I/users/lptl/wong/apps/include -g -O2 -MT fort-geninq.lo -MD -MP -MF "$depbase.Tpo" -c -o fort-geninq.lo fort-geninq.c; \ > then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -I/users/lptl/wong/apps/include -g -O2 -MT fort-geninq.lo -MD -MP -MF .deps/fort-geninq.Tpo -c fort-geninq.c -o fort-geninq.o > depbase=`echo fort-genvar.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \ > if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -I/users/lptl/wong/apps/include -g -O2 -MT fort-genvar.lo -MD -MP -MF "$depbase.Tpo" -c -o fort-genvar.lo fort-genvar.c; \ > then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -I/users/lptl/wong/apps/include -g -O2 -MT fort-genvar.lo -MD -MP -MF .deps/fort-genvar.Tpo -c fort-genvar.c -o fort-genvar.o > depbase=`echo fort-lib.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \ > if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -I/users/lptl/wong/apps/include -g -O2 -MT fort-lib.lo -MD -MP -MF "$depbase.Tpo" -c -o fort-lib.lo fort-lib.c; \ > then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -I/users/lptl/wong/apps/include -g -O2 -MT fort-lib.lo -MD -MP -MF .deps/fort-lib.Tpo -c fort-lib.c -o fort-lib.o > depbase=`echo fort-misc.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \ > if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -I/users/lptl/wong/apps/include -g -O2 -MT fort-misc.lo -MD -MP -MF "$depbase.Tpo" -c -o fort-misc.lo fort-misc.c; \ > then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -I/users/lptl/wong/apps/include -g -O2 -MT fort-misc.lo -MD -MP -MF .deps/fort-misc.Tpo -c fort-misc.c -o fort-misc.o > depbase=`echo fort-v2compat.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \ > if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -I/users/lptl/wong/apps/include -g -O2 -MT fort-v2compat.lo -MD -MP -MF "$depbase.Tpo" -c -o fort-v2compat.lo fort-v2compat.c; \ > then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -I/users/lptl/wong/apps/include -g -O2 -MT fort-v2compat.lo -MD -MP -MF .deps/fort-v2compat.Tpo -c fort-v2compat.c -o fort-v2compat.o > depbase=`echo fort-vario.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \ > if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -I/users/lptl/wong/apps/include -g -O2 -MT fort-vario.lo -MD -MP -MF "$depbase.Tpo" -c -o fort-vario.lo fort-vario.c; \ > then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -I/users/lptl/wong/apps/include -g -O2 -MT fort-vario.lo -MD -MP -MF .deps/fort-vario.Tpo -c fort-vario.c -o fort-vario.o > depbase=`echo fort-var1io.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \ > if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -I/users/lptl/wong/apps/include -g -O2 -MT fort-var1io.lo -MD -MP -MF "$depbase.Tpo" -c -o fort-var1io.lo fort-var1io.c; \ > then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -I/users/lptl/wong/apps/include -g -O2 -MT fort-var1io.lo -MD -MP -MF .deps/fort-var1io.Tpo -c fort-var1io.c -o fort-var1io.o > depbase=`echo fort-varaio.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \ > if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -I/users/lptl/wong/apps/include -g -O2 -MT fort-varaio.lo -MD -MP -MF "$depbase.Tpo" -c -o fort-varaio.lo fort-varaio.c; \ > then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -I/users/lptl/wong/apps/include -g -O2 -MT fort-varaio.lo -MD -MP -MF .deps/fort-varaio.Tpo -c fort-varaio.c -o fort-varaio.o > depbase=`echo fort-varmio.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \ > if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -I/users/lptl/wong/apps/include -g -O2 -MT fort-varmio.lo -MD -MP -MF "$depbase.Tpo" -c -o fort-varmio.lo fort-varmio.c; \ > then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -I/users/lptl/wong/apps/include -g -O2 -MT fort-varmio.lo -MD -MP -MF .deps/fort-varmio.Tpo -c fort-varmio.c -o fort-varmio.o > depbase=`echo fort-varsio.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \ > if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -I/users/lptl/wong/apps/include -g -O2 -MT fort-varsio.lo -MD -MP -MF "$depbase.Tpo" -c -o fort-varsio.lo fort-varsio.c; \ > then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -I/users/lptl/wong/apps/include -g -O2 -MT fort-varsio.lo -MD -MP -MF .deps/fort-varsio.Tpo -c fort-varsio.c -o fort-varsio.o > /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L/users/lptl/wong/apps/lib -L/users/lptl/wong/fftw/lib -o libnetcdff.la fort-attio.lo fort-control.lo fort-dim.lo fort-genatt.lo fort-geninq.lo fort-genvar.lo fort-lib.lo fort-misc.lo fort-v2compat.lo fort-vario.lo fort-var1io.lo fort-varaio.lo fort-varmio.lo fort-varsio.lo ../f90/libnetcdff90.la > libtool: link: warning: library `/users/lptl/wong/apps/lib/libgfortranbegin.la' was moved. > libtool: link: warning: library `/users/lptl/wong/apps/lib/libgfortran.la' was moved. > libtool: link: (cd .libs/libnetcdff.lax/libnetcdff90.a && ar x /users/lptl/wong/Desktop/netcdf-3.6.2/fortran/../f90/.libs/libnetcdff90.a) > libtool: link: ar cru .libs/libnetcdff.a fort-attio.o fort-control.o fort-dim.o fort-genatt.o fort-geninq.o fort-genvar.o fort-lib.o fort-misc.o fort-v2compat.o fort-vario.o fort-var1io.o fort-varaio.o fort-varmio.o fort-varsio.o .libs/libnetcdff.lax/libnetcdff90.a/netcdf.o .libs/libnetcdff.lax/libnetcdff90.a/typeSizes.o > libtool: link: ranlib .libs/libnetcdff.a > libtool: link: rm -fr .libs/libnetcdff.lax > libtool: link: creating libnetcdff.la > libtool: link: ( cd ".libs" && rm -f "libnetcdff.la" && ln -s "../libnetcdff.la" "libnetcdff.la" ) > make[1]: Leaving directory `/users/lptl/wong/Desktop/netcdf-3.6.2/fortran' > Making check in libsrc > make[1]: Entering directory `/users/lptl/wong/Desktop/netcdf-3.6.2/libsrc' > depbase=`echo attr.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \ > if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I/users/lptl/wong/apps/include -g -O2 -MT attr.lo -MD -MP -MF "$depbase.Tpo" -c -o attr.lo attr.c; \ > then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I/users/lptl/wong/apps/include -g -O2 -MT attr.lo -MD -MP -MF .deps/attr.Tpo -c attr.c -o attr.o > depbase=`echo ncx.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \ > if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I/users/lptl/wong/apps/include -g -O2 -MT ncx.lo -MD -MP -MF "$depbase.Tpo" -c -o ncx.lo ncx.c; \ > then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I/users/lptl/wong/apps/include -g -O2 -MT ncx.lo -MD -MP -MF .deps/ncx.Tpo -c ncx.c -o ncx.o > depbase=`echo putget.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \ > if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I/users/lptl/wong/apps/include -g -O2 -MT putget.lo -MD -MP -MF "$depbase.Tpo" -c -o putget.lo putget.c; \ > then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I/users/lptl/wong/apps/include -g -O2 -MT putget.lo -MD -MP -MF .deps/putget.Tpo -c putget.c -o putget.o > depbase=`echo dim.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \ > if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I/users/lptl/wong/apps/include -g -O2 -MT dim.lo -MD -MP -MF "$depbase.Tpo" -c -o dim.lo dim.c; \ > then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I/users/lptl/wong/apps/include -g -O2 -MT dim.lo -MD -MP -MF .deps/dim.Tpo -c dim.c -o dim.o > depbase=`echo error.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \ > if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I/users/lptl/wong/apps/include -g -O2 -MT error.lo -MD -MP -MF "$depbase.Tpo" -c -o error.lo error.c; \ > then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I/users/lptl/wong/apps/include -g -O2 -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c -o error.o > depbase=`echo libvers.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \ > if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I/users/lptl/wong/apps/include -g -O2 -MT libvers.lo -MD -MP -MF "$depbase.Tpo" -c -o libvers.lo libvers.c; \ > then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I/users/lptl/wong/apps/include -g -O2 -MT libvers.lo -MD -MP -MF .deps/libvers.Tpo -c libvers.c -o libvers.o > depbase=`echo nc.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \ > if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I/users/lptl/wong/apps/include -g -O2 -MT nc.lo -MD -MP -MF "$depbase.Tpo" -c -o nc.lo nc.c; \ > then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I/users/lptl/wong/apps/include -g -O2 -MT nc.lo -MD -MP -MF .deps/nc.Tpo -c nc.c -o nc.o > depbase=`echo string.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \ > if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I/users/lptl/wong/apps/include -g -O2 -MT string.lo -MD -MP -MF "$depbase.Tpo" -c -o string.lo string.c; \ > then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I/users/lptl/wong/apps/include -g -O2 -MT string.lo -MD -MP -MF .deps/string.Tpo -c string.c -o string.o > depbase=`echo v1hpg.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \ > if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I/users/lptl/wong/apps/include -g -O2 -MT v1hpg.lo -MD -MP -MF "$depbase.Tpo" -c -o v1hpg.lo v1hpg.c; \ > then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I/users/lptl/wong/apps/include -g -O2 -MT v1hpg.lo -MD -MP -MF .deps/v1hpg.Tpo -c v1hpg.c -o v1hpg.o > depbase=`echo var.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \ > if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I/users/lptl/wong/apps/include -g -O2 -MT var.lo -MD -MP -MF "$depbase.Tpo" -c -o var.lo var.c; \ > then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I/users/lptl/wong/apps/include -g -O2 -MT var.lo -MD -MP -MF .deps/var.Tpo -c var.c -o var.o > depbase=`echo posixio.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \ > if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I/users/lptl/wong/apps/include -g -O2 -MT posixio.lo -MD -MP -MF "$depbase.Tpo" -c -o posixio.lo posixio.c; \ > then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I/users/lptl/wong/apps/include -g -O2 -MT posixio.lo -MD -MP -MF .deps/posixio.Tpo -c posixio.c -o posixio.o > depbase=`echo v2i.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \ > if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I/users/lptl/wong/apps/include -g -O2 -MT v2i.lo -MD -MP -MF "$depbase.Tpo" -c -o v2i.lo v2i.c; \ > then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I/users/lptl/wong/apps/include -g -O2 -MT v2i.lo -MD -MP -MF .deps/v2i.Tpo -c v2i.c -o v2i.o > /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L/users/lptl/wong/apps/lib -L/users/lptl/wong/fftw/lib -o libnetcdf2.la v2i.lo > libtool: link: ar cru .libs/libnetcdf2.a v2i.o > libtool: link: ranlib .libs/libnetcdf2.a > libtool: link: creating libnetcdf2.la > libtool: link: ( cd ".libs" && rm -f "libnetcdf2.la" && ln -s "../libnetcdf2.la" "libnetcdf2.la" ) > /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L/users/lptl/wong/apps/lib -L/users/lptl/wong/fftw/lib -o libnetcdf.la -rpath /users/lptl/wong/apps/lib -version-info 4:0:0 -no-undefined attr.lo ncx.lo putget.lo dim.lo error.lo libvers.lo nc.lo string.lo v1hpg.lo var.lo posixio.lo libnetcdf2.la ../fortran/libnetcdff.la > libtool: link: warning: library `/users/lptl/wong/apps/lib/libgfortranbegin.la' was moved. > libtool: link: warning: library `/users/lptl/wong/apps/lib/libgfortran.la' was moved. > libtool: link: (cd .libs/libnetcdf.lax/libnetcdf2.a && ar x /users/lptl/wong/Desktop/netcdf-3.6.2/libsrc/./.libs/libnetcdf2.a) > libtool: link: (cd .libs/libnetcdf.lax/libnetcdff.a && ar x /users/lptl/wong/Desktop/netcdf-3.6.2/libsrc/../fortran/.libs/libnetcdff.a) > libtool: link: ar cru .libs/libnetcdf.a attr.o ncx.o putget.o dim.o error.o libvers.o nc.o string.o v1hpg.o var.o posixio.o .libs/libnetcdf.lax/libnetcdf2.a/v2i.o .libs/libnetcdf.lax/libnetcdff.a/fort-dim.o .libs/libnetcdf.lax/libnetcdff.a/fort-vario.o .libs/libnetcdf.lax/libnetcdff.a/fort-var1io.o .libs/libnetcdf.lax/libnetcdff.a/fort-v2compat.o .libs/libnetcdf.lax/libnetcdff.a/fort-varmio.o .libs/libnetcdf.lax/libnetcdff.a/fort-attio.o .libs/libnetcdf.lax/libnetcdff.a/fort-control.o .libs/libnetcdf.lax/libnetcdff.a/netcdf.o .libs/libnetcdf.lax/libnetcdff.a/fort-varaio.o .libs/libnetcdf.lax/libnetcdff.a/fort-misc.o .libs/libnetcdf.lax/libnetcdff.a/fort-genatt.o .libs/libnetcdf.lax/libnetcdff.a/fort-geninq.o .libs/libnetcdf.lax/libnetcdff.a/fort-genvar.o .libs/libnetcdf.lax/libnetcdff.a/fort-lib.o .libs/libnetcdf.lax/libnetcdff.a/typeSizes.o .libs/libnetcdf.lax/libnetcdff.a/fort-varsio.o > libtool: link: ranlib .libs/libnetcdf.a > libtool: link: rm -fr .libs/libnetcdf.lax > libtool: link: creating libnetcdf.la > libtool: link: ( cd ".libs" && rm -f "libnetcdf.la" && ln -s "../libnetcdf.la" "libnetcdf.la" ) > make t_nc > make[2]: Entering directory `/users/lptl/wong/Desktop/netcdf-3.6.2/libsrc' > if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I/users/lptl/wong/apps/include -g -O2 -MT t_nc-t_nc.o -MD -MP -MF ".deps/t_nc-t_nc.Tpo" -c -o t_nc-t_nc.o `test -f 't_nc.c' || echo './'`t_nc.c; \ > then mv -f ".deps/t_nc-t_nc.Tpo" ".deps/t_nc-t_nc.Po"; else rm -f ".deps/t_nc-t_nc.Tpo"; exit 1; fi > /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L/users/lptl/wong/apps/lib -L/users/lptl/wong/fftw/lib -o t_nc t_nc-t_nc.o libnetcdf.la > libtool: link: warning: library `/users/lptl/wong/apps/lib/libgfortranbegin.la' was moved. > libtool: link: warning: library `/users/lptl/wong/apps/lib/libgfortran.la' was moved. > libtool: link: warning: library `/users/lptl/wong/apps/lib/libgfortranbegin.la' was moved. > libtool: link: warning: library `/users/lptl/wong/apps/lib/libgfortran.la' was moved. > libtool: link: gcc -g -O2 -o t_nc t_nc-t_nc.o -L/users/lptl/wong/apps/lib -L/users/lptl/wong/fftw/lib ./.libs/libnetcdf.a /users/lptl/wong/apps/lib/libgfortranbegin.a /users/lptl/wong/apps/lib/libgfortran.so -lm -Wl,-rpath -Wl,/users/lptl/wong/apps/lib -Wl,-rpath -Wl,/users/lptl/wong/apps/lib > /users/lptl/wong/apps/lib/libgfortran.so: could not read symbols: File in wrong format > collect2: ld returned 1 exit status > make[2]: *** [t_nc] Error 1 > make[2]: Leaving directory `/users/lptl/wong/Desktop/netcdf-3.6.2/libsrc' > make[1]: *** [check-am] Error 2 > make[1]: Leaving directory `/users/lptl/wong/Desktop/netcdf-3.6.2/libsrc' > make: *** [check-recursive] Error 1 > Making install in f90 > make[1]: Entering directory `/users/lptl/wong/Desktop/netcdf-3.6.2/f90' > make[2]: Entering directory `/users/lptl/wong/Desktop/netcdf-3.6.2/f90' > make[2]: Nothing to be done for `install-exec-am'. > test -z "/users/lptl/wong/apps/share/man/man3" || mkdir -p -- "/users/lptl/wong/apps/share/man/man3" > /usr/bin/install -c -m 644 './netcdf_f90.3' '/users/lptl/wong/apps/share/man/man3/netcdf_f90.3' > test -z "/users/lptl/wong/apps/include" || mkdir -p -- "/users/lptl/wong/apps/include" > /usr/bin/install -c -m 644 'typesizes.mod' '/users/lptl/wong/apps/include/typesizes.mod' > /usr/bin/install -c -m 644 'netcdf.mod' '/users/lptl/wong/apps/include/netcdf.mod' > make[2]: Leaving directory `/users/lptl/wong/Desktop/netcdf-3.6.2/f90' > make[1]: Leaving directory `/users/lptl/wong/Desktop/netcdf-3.6.2/f90' > Making install in fortran > make[1]: Entering directory `/users/lptl/wong/Desktop/netcdf-3.6.2/fortran' > make[2]: Entering directory `/users/lptl/wong/Desktop/netcdf-3.6.2/fortran' > test -z "/users/lptl/wong/apps/lib" || mkdir -p -- "/users/lptl/wong/apps/lib" > test -z "/users/lptl/wong/apps/include" || mkdir -p -- "/users/lptl/wong/apps/include" > /usr/bin/install -c -m 644 'netcdf.inc' '/users/lptl/wong/apps/include/netcdf.inc' > test -z "/users/lptl/wong/apps/share/man/man3" || mkdir -p -- "/users/lptl/wong/apps/share/man/man3" > /usr/bin/install -c -m 644 './netcdf_f77.3' '/users/lptl/wong/apps/share/man/man3/netcdf_f77.3' > make[2]: Leaving directory `/users/lptl/wong/Desktop/netcdf-3.6.2/fortran' > make[1]: Leaving directory `/users/lptl/wong/Desktop/netcdf-3.6.2/fortran' > Making install in libsrc > make[1]: Entering directory `/users/lptl/wong/Desktop/netcdf-3.6.2/libsrc' > make[2]: Entering directory `/users/lptl/wong/Desktop/netcdf-3.6.2/libsrc' > test -z "/users/lptl/wong/apps/lib" || mkdir -p -- "/users/lptl/wong/apps/lib" > /bin/sh ../libtool --mode=install /usr/bin/install -c 'libnetcdf.la' '/users/lptl/wong/apps/lib/libnetcdf.la' > libtool: install: /usr/bin/install -c .libs/libnetcdf.lai /users/lptl/wong/apps/lib/libnetcdf.la > libtool: install: /usr/bin/install -c .libs/libnetcdf.a /users/lptl/wong/apps/lib/libnetcdf.a > libtool: install: chmod 644 /users/lptl/wong/apps/lib/libnetcdf.a > libtool: install: ranlib /users/lptl/wong/apps/lib/libnetcdf.a > libtool: finish: PATH="/users/lptl/wong/apps/bin/python:/usr/kerberos/bin:/usr/lib64/ccache:/users/lptl/wong/apps/bin/python:/users/lptl/wong/apps/bin:/users/lptl/wong/apps/bin/Linux:/users/lptl/wong/apps/bin/python:/users/lptl/wong/apps/bin/python:/usr/lib64/qt-3.3/bin:.:/users/lptl/wong:/bin:/usr/local/bin:/usr/bin:/usr/bin/X11:/usr/X11R6/bin:/bin:/usr/local/pgi/linux86-64/7.0/bin:/usr/local/pgi/linux86/7.0/bin:/usr/local/pgi/linux86/bin:/usr/local/maple/bin:/usr/local/gopenmol/bin:/opt/intel/fce/9.1/bin:/opt/intel/cce/9.1/bin:/opt/intel/idb/9.1/bin::/users/lptl/wong/apps/usr/bin:/users/lptl/wong/apps/bin:/users/lptl/wong/apps/blender/blender*:/users/lptl/wong/apps/bin/Linux:/users2/lptl/wong/scwrl/scwrl3_lin:/users/lptl/wong/apps/i686-pc-linux-gnu:/users/lptl/wong/NAMD/NAMD_2.5_Linux-i686:/users/lptl/wong/apps/bin/python:/users/lptl/wong/bioviewer/bioviewer:/users/lptl/wong/apps/blender/blender-2.44-linux-glibc232-py24-i386-static:/users/invites/wong/.local/bin:/users/lp tl/wong/.local/bin:/users/invites/wong/hex/bin:/users/lptl/wong/apps/usr/bin:/users/lptl/wong/apps/bin:/users/lptl/wong/apps/blender/blender*:/users/lptl/wong/apps/bin/Linux:/users2/lptl/wong/scwrl/scwrl3_lin:/users/lptl/wong/apps/i686-pc-linux-gnu:/users/lptl/wong/NAMD/NAMD_2.5_Linux-i686:/users/lptl/wong/apps/bin/python:/users/lptl/wong/bioviewer/bioviewer:/users/lptl/wong/apps/blender/blender-2.44-linux-glibc232-py24-i386-static:/users/lptl/wong/apps/usr/bin:/users/lptl/wong/apps/bin:/users/lptl/wong/apps/blender/blender*:/users/lptl/wong/apps/bin/Linux:/users2/lptl/wong/scwrl/scwrl3_lin:/users/lptl/wong/apps/i686-pc-linux-gnu:/users/lptl/wong/NAMD/NAMD_2.5_Linux-i686:/users/lptl/wong/apps/bin/python:/users/lptl/wong/bioviewer/bioviewer:/users/lptl/wong/apps/blender/blender-2.44-linux-glibc232-py24-i386-static:/sbin" ldconfig -n /users/lptl/wong/apps/lib > ldconfig: /users/lptl/wong/apps/lib/libGLw.so.1 is not a symbolic link > > ldconfig: /users/lptl/wong/apps/lib/libqhull.so.5 is not a symbolic link > > ldconfig: /users/lptl/wong/apps/lib/libGLU.so.1 is not a symbolic link > > ldconfig: /users/lptl/wong/apps/lib/libswish-e.so.2 is not a symbolic link > > ldconfig: /users/lptl/wong/apps/lib/libexpat.so.0 is not a symbolic link > > ---------------------------------------------------------------------- > Libraries have been installed in: > /users/lptl/wong/apps/lib > > If you ever happen to want to link against installed libraries > in a given directory, LIBDIR, you must either use libtool, and > specify the full pathname of the library, or use the `-LLIBDIR' > flag during linking and do at least one of the following: > - add LIBDIR to the `LD_LIBRARY_PATH' environment variable > during execution > - add LIBDIR to the `LD_RUN_PATH' environment variable > during linking > - use the `-Wl,-rpath -Wl,LIBDIR' linker flag > - have your system administrator add LIBDIR to `/etc/ld.so.conf' > > See any operating system documentation about shared libraries for > more information, such as the ld(1) and ld.so(8) manual pages. > ---------------------------------------------------------------------- > test -z "/users/lptl/wong/apps/include" || mkdir -p -- "/users/lptl/wong/apps/include" > /usr/bin/install -c -m 644 'netcdf.h' '/users/lptl/wong/apps/include/netcdf.h' > test -z "/users/lptl/wong/apps/share/man/man3" || mkdir -p -- "/users/lptl/wong/apps/share/man/man3" > /usr/bin/install -c -m 644 './netcdf.3' '/users/lptl/wong/apps/share/man/man3/netcdf.3' > make[2]: Leaving directory `/users/lptl/wong/Desktop/netcdf-3.6.2/libsrc' > make[1]: Leaving directory `/users/lptl/wong/Desktop/netcdf-3.6.2/libsrc' > Making install in nctest > make[1]: Entering directory `/users/lptl/wong/Desktop/netcdf-3.6.2/nctest' > make[2]: Entering directory `/users/lptl/wong/Desktop/netcdf-3.6.2/nctest' > make[2]: Nothing to be done for `install-exec-am'. > make[2]: Nothing to be done for `install-data-am'. > make[2]: Leaving directory `/users/lptl/wong/Desktop/netcdf-3.6.2/nctest' > make[1]: Leaving directory `/users/lptl/wong/Desktop/netcdf-3.6.2/nctest' > Making install in ncgen > make[1]: Entering directory `/users/lptl/wong/Desktop/netcdf-3.6.2/ncgen' > depbase=`echo main.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \ > if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I.. -I../libsrc -I../libsrc -I/users/lptl/wong/apps/include -g -O2 -MT main.o -MD -MP -MF "$depbase.Tpo" -c -o main.o main.c; \ > then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi > depbase=`echo load.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \ > if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I.. -I../libsrc -I../libsrc -I/users/lptl/wong/apps/include -g -O2 -MT load.o -MD -MP -MF "$depbase.Tpo" -c -o load.o load.c; \ > then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi > depbase=`echo ncgentab.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \ > if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I.. -I../libsrc -I../libsrc -I/users/lptl/wong/apps/include -g -O2 -MT ncgentab.o -MD -MP -MF "$depbase.Tpo" -c -o ncgentab.o ncgentab.c; \ > then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi > depbase=`echo escapes.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \ > if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I.. -I../libsrc -I../libsrc -I/users/lptl/wong/apps/include -g -O2 -MT escapes.o -MD -MP -MF "$depbase.Tpo" -c -o escapes.o escapes.c; \ > then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi > depbase=`echo getfill.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \ > if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I.. -I../libsrc -I../libsrc -I/users/lptl/wong/apps/include -g -O2 -MT getfill.o -MD -MP -MF "$depbase.Tpo" -c -o getfill.o getfill.c; \ > then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi > depbase=`echo init.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \ > if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I.. -I../libsrc -I../libsrc -I/users/lptl/wong/apps/include -g -O2 -MT init.o -MD -MP -MF "$depbase.Tpo" -c -o init.o init.c; \ > then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi > depbase=`echo genlib.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \ > if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I.. -I../libsrc -I../libsrc -I/users/lptl/wong/apps/include -g -O2 -MT genlib.o -MD -MP -MF "$depbase.Tpo" -c -o genlib.o genlib.c; \ > then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi > /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L/users/lptl/wong/apps/lib -L/users/lptl/wong/fftw/lib -o ncgen main.o load.o ncgentab.o escapes.o getfill.o init.o genlib.o ../libsrc/libnetcdf.la > libtool: link: warning: library `/users/lptl/wong/apps/lib/libgfortranbegin.la' was moved. > libtool: link: warning: library `/users/lptl/wong/apps/lib/libgfortran.la' was moved. > libtool: link: warning: library `/users/lptl/wong/apps/lib/libgfortranbegin.la' was moved. > libtool: link: warning: library `/users/lptl/wong/apps/lib/libgfortran.la' was moved. > libtool: link: gcc -g -O2 -o ncgen main.o load.o ncgentab.o escapes.o getfill.o init.o genlib.o -L/users/lptl/wong/apps/lib -L/users/lptl/wong/fftw/lib ../libsrc/.libs/libnetcdf.a /users/lptl/wong/apps/lib/libgfortranbegin.a /users/lptl/wong/apps/lib/libgfortran.so -lm -Wl,-rpath -Wl,/users/lptl/wong/apps/lib -Wl,-rpath -Wl,/users/lptl/wong/apps/lib > /users/lptl/wong/apps/lib/libgfortran.so: could not read symbols: File in wrong format > collect2: ld returned 1 exit status > make[1]: *** [ncgen] Error 1 > make[1]: Leaving directory `/users/lptl/wong/Desktop/netcdf-3.6.2/ncgen' > make: *** [install-recursive] Error 1 > Looks like your system is a bit confused about the locations of your library files! Also looks like there is a problem with /users/lptl/wong/apps/lib/libgfortran.so, probably it is 32-bit, and everything else is 64-bit. Use the "file" command on this file to check it. It's not clear to me why ncgen is including the fortran library though. I didn't know that it did that. If you are using the wrong type of file, you need to change your -L options to allow the linker to find the correct file. Thanks, Ed Ticket Details =================== Ticket ID: IJK-126633 Department: Support netCDF Priority: Normal Status: Closed