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

[netCDF #ALZ-950756]: error during installation od netcdf


> this is the message I see on the screen during installation of GMT
> . . . . . . . .
> make  t_nc
> make[3]: Entering directory `/home/service/GMT/netcdf-3.6.3/libsrc'
> gcc -DHAVE_CONFIG_H -I. -I.. -I../fortran     -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
> mv -f .deps/t_nc-t_nc.Tpo .deps/t_nc-t_nc.Po
> /usr/bin/sh ../libtool --tag=CC   --mode=link gcc  -g -O2     -o t_nc 
> t_nc-t_nc.o libnetcdf.la
> libtool: link: gcc -g -O2 -o .libs/t_nc t_nc-t_nc.o  ./.libs/libnetcdf.so 
> -Wl,-rpath -Wl,/home/service/GMT/netcdf-3.6.3/lib
> make[3]: Leaving directory `/home/service/GMT/netcdf-3.6.3/libsrc'
> make  check-TESTS
> make[3]: Entering directory `/home/service/GMT/netcdf-3.6.3/libsrc'
> /home/service/GMT/netcdf-3.6.3/libsrc/.libs/t_nc: error while loading shared 
> libraries: libnetcdf.so.4: cannot open shared object file: No such file or 
> directory
> FAIL: t_nc
> =========================================
> 1 of 1 tests failed
> Please report to address@hidden
> =========================================
> make[3]: *** [check-TESTS] Error 1
> make[3]: Leaving directory `/home/service/GMT/netcdf-3.6.3/libsrc'
> make[2]: *** [check-am] Error 2
> make[2]: Leaving directory `/home/service/GMT/netcdf-3.6.3/libsrc'
> make[1]: *** [check] Error 2
> make[1]: Leaving directory `/home/service/GMT/netcdf-3.6.3/libsrc'
> make: *** [check-recursive] Error 1

It's possible libnetcdf.so.4 is a leftover symbolic link to a previous
version of a library in a directory you specify with -L or in your
LD_LIBRARY_PATH, and that the symbolic link references a shared library
that no longer exists.  In that case, you should delete the symbolic link
before trying to build and install netCDF.

Also, it's my understanding that GMT now includes an "automated install"
that builds and installs everything that's needed, including GMT.  If you
can use that, I think it would be easier than building it from source

If you still need help installing netCDF from source, please send the 
information requested here:



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

Ticket Details
Ticket ID: ALZ-950756
Department: Support netCDF
Priority: Normal
Status: Closed

NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.