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

[netCDF #VUG-882895]: some problem with my necdf



Hello,

NetCDF-C++ 4.2 has been deprecated and is no longer being maintained.  I would 
recommend downloading the latest version from 
https://github.com/Unidata/netcdf-cxx4/releases and see if that will work for 
you.  If you encounter any issues building or installing it, please contact us!

Have a great day,

-Ward

> dear teacher,
> I am a student in China.
> I install the netcdf-c,and check succeed.But I can not install netcdf-c++ 
> successful .
> After I CPPFLAGS=-I/$youpath/netcdf-4.3.2/include ./configure ,then 
> CPPFLAGS=-I/$yourpath/netcdf-4.3.2/include LDFLAGS=-L/usr/local/netcdf/lib  
> make,then sudo make install.
> After this,it says:Congratulations! You have successfully installed the 
> netCDF  C++ Libaray
> But when I check, it says:
> Making check in cxx
> make[1]: Entering directory '/home/isaac//netcdf-cxx-4.2/cxx'
> make  nctst tst_failure
> make[2]: Entering directory '/home/isaac//netcdf-cxx-4.2/cxx'
> make[2]: 'nctst' is up to date.
> make[2]: 'tst_failure' is up to date.
> make[2]: Leaving directory '/home/isaac//netcdf-cxx-4.2/cxx'
> make  check-TESTS
> make[2]: Entering directory '/home/isaac//netcdf-cxx-4.2/cxx'
> /home/isaac//netcdf-cxx-4.2/cxx/.libs/lt-nctst: error while loading shared 
> libraries: libnetcdf.so.11: cannot open shared object file: No such file or 
> directory
> FAIL: nctst
> /home/isaac//netcdf-cxx-4.2/cxx/.libs/lt-tst_failure: error while loading 
> shared libraries: libnetcdf.so.11: cannot open shared object file: No such 
> file or directory
> XFAIL: tst_failure
> ================================================
> 1 of 2 tests failed
> Please report to address@hidden
> ================================================
> Makefile:513: recipe for target 'check-TESTS' failed
> make[2]: *** [check-TESTS] Error 1
> make[2]: Leaving directory '/home/isaac//netcdf-cxx-4.2/cxx'
> Makefile:635: recipe for target 'check-am' failed
> make[1]: *** [check-am] Error 2
> make[1]: Leaving directory '/home/isaac//netcdf-cxx-4.2/cxx'
> Makefile:311: recipe for target 'check-recursive' failed
> make: *** [check-recursive] Error 1
> 
> I don't know why and don't know how to solve it .Please help me ,thanks!!
> 
> isaac


Ticket Details
===================
Ticket ID: VUG-882895
Department: Support netCDF
Priority: Normal
Status: Closed