[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #FRO-492157]: 'make check install' errors (doesn't even get to install)



Hi D.

> Organization: Duke University Nicholas School
> Package Version: NetCDF-Fortran-4.4.1
> Operating System: SL6 2.6.32-431.el6.x86_64
> Hardware: Dell R720
> Description of problem: make check install ends with (document containing 
> ./configure output and complete result of make check install attached):
> 
> /bin/sh ../libtool  --tag=F77   --mode=link gfortran -I../fortran   
> -I../fortran -g -O2   -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 util.o f03lib.o 
> ../fortran/libnetcdff.la -lnetcdf
> libtool: link: gfortran -I../fortran -I../fortran -g -O2 -o .libs/nf_test 
> f03lib_f_interfaces.o test_get.o test_put.o nf_error.o nf_test.o test_read.o 
> test_write.o util.o f03lib.o  ../fortran/.libs/libnetcdff.so -lnetcdf 
> -Wl,-rpath -Wl,/usr/local/netcdf-fortran/lib
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_inq_path'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_rename_grp'
> collect2: ld returned 1 exit status
> make[2]: *** [nf_test] Error 1
> make[2]: Leaving directory `/root/netcdf-fortran-4.4.1/nf_test'
> make[1]: *** [check-am] Error 2
> make[1]: Leaving directory `/root/netcdf-fortran-4.4.1/nf_test'
> make: *** [check-recursive] Error 1

The netCDF-Fortran library depends on the netCDF C library, so you 
have to install a netCDF C library first, and tell configure where
it's installed.  Here's the instructions:

  http://www.unidata.ucar.edu/netcdf/docs/building_netcdf_fortran.html

--Russ

Russ Rew                                         UCAR Unidata Program
address@hidden                      http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: FRO-492157
Department: Support netCDF
Priority: Normal
Status: Closed