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

[netCDF #JQZ-512952]: Linux NetCDF install make check errors...



Hello Chris,

I think part of the issue may be your usage of `sudo` when running `make 
check`; sudo isn't neecessary, and will in fact discard environmental 
variables, such as the LD_LIBRARY_PATH you set.  What happens if you run:

$ LD_LIBRARY_PATH=/usr/local/lib make check

If this doesn't work, can you please provide the `config.log` file generated 
when you configured the project?

Thanks!

-Ward




> And here's the failure log for this issue.  Also I ran export 
> LD_LIBRARY_PATH=/usr/local/lib and also used sudo with my make check:
> 
> datahead@datahead-G750JW:~/Documents/SciVis/hw2/netcdfInstall/netcdf-4.3.2$ 
> cat ncgen3/test-suite.log
> =========================================
> netCDF 4.3.2: ncgen3/test-suite.log
> =========================================
> 
> # TOTAL: 2
> # PASS:  0
> # SKIP:  0
> # XFAIL: 0
> # FAIL:  2
> # XPASS: 0
> # ERROR: 0
> 
> .. contents:: :depth: 2
> 
> FAIL: run_tests.sh
> ==================
> 
> *** Testing ncgen3.
> *** creating classic file c0.nc from c0.cdl...
> /home/datahead/Documents/SciVis/hw2/netcdfInstall/netcdf-4.3.2/ncgen3/.libs/lt-ncgen3:
>  error while loading shared libraries: libnetcdf.so.7: cannot open shared 
> object file: No such file or directory
> 
> FAIL: run_nc4_tests.sh
> ======================
> 
> *** Testing ncgen3 for netCDF-4.
> *** creating netCDF-4 file c0_4.nc from c0.cdl...
> /home/datahead/Documents/SciVis/hw2/netcdfInstall/netcdf-4.3.2/ncgen3/.libs/lt-ncgen3:
>  error while loading shared libraries: libnetcdf.so.7: cannot open shared 
> object file: No such file or directory
> 
> 
> ________________________________
> From: Jacobsen, Chris J.
> Sent: Tuesday, January 27, 2015 10:56 PM
> To: address@hidden
> Subject: Linux NetCDF install make check errors...
> 
> 
> Hello,
> 
> 
> I ran make check after installing NetCDF using the file at 
> ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf?-4.3.2.tar.gz (I had to retype 
> it this time from a slide for this email)
> 
> 
> Below is the part of the make check tests that had errors.  I am running this 
> version of Ubuntu Linux:
> 
> Distributor ID:    Ubuntu
> Description:    Ubuntu 12.04.4 LTS
> Release:    12.04
> Codename:    precise
> 
> 
> Part of make check report that had errors::::::
> 
> ============================================================================
> Testsuite summary for netCDF 4.3.2
> ============================================================================
> # TOTAL: 26
> # PASS:  26
> # SKIP:  0
> # XFAIL: 0
> # FAIL:  0
> # XPASS: 0
> # ERROR: 0
> ============================================================================
> make[3]: Leaving directory 
> `/home/datahead/Documents/SciVis/hw2/netcdf/netcdf-4.3.2/h5_test'
> make[2]: Leaving directory 
> `/home/datahead/Documents/SciVis/hw2/netcdf/netcdf-4.3.2/h5_test'
> make[1]: Leaving directory 
> `/home/datahead/Documents/SciVis/hw2/netcdf/netcdf-4.3.2/h5_test'
> Making check in libdispatch
> make[1]: Entering directory 
> `/home/datahead/Documents/SciVis/hw2/netcdf/netcdf-4.3.2/libdispatch'
> make[1]: Nothing to be done for `check'.
> make[1]: Leaving directory 
> `/home/datahead/Documents/SciVis/hw2/netcdf/netcdf-4.3.2/libdispatch'
> Making check in libsrc
> make[1]: Entering directory 
> `/home/datahead/Documents/SciVis/hw2/netcdf/netcdf-4.3.2/libsrc'
> make[1]: Nothing to be done for `check'.
> make[1]: Leaving directory 
> `/home/datahead/Documents/SciVis/hw2/netcdf/netcdf-4.3.2/libsrc'
> Making check in libsrc4
> make[1]: Entering directory 
> `/home/datahead/Documents/SciVis/hw2/netcdf/netcdf-4.3.2/libsrc4'
> make[1]: Nothing to be done for `check'.
> make[1]: Leaving directory 
> `/home/datahead/Documents/SciVis/hw2/netcdf/netcdf-4.3.2/libsrc4'
> Making check in liblib
> make[1]: Entering directory 
> `/home/datahead/Documents/SciVis/hw2/netcdf/netcdf-4.3.2/liblib'
> make[1]: Nothing to be done for `check'.
> make[1]: Leaving directory 
> `/home/datahead/Documents/SciVis/hw2/netcdf/netcdf-4.3.2/liblib'
> Making check in ncgen3
> make[1]: Entering directory 
> `/home/datahead/Documents/SciVis/hw2/netcdf/netcdf-4.3.2/ncgen3'
> make  check-TESTS
> make[2]: Entering directory 
> `/home/datahead/Documents/SciVis/hw2/netcdf/netcdf-4.3.2/ncgen3'
> make[3]: Entering directory 
> `/home/datahead/Documents/SciVis/hw2/netcdf/netcdf-4.3.2/ncgen3'
> FAIL: run_tests.sh
> FAIL: run_nc4_tests.sh
> make[4]: Entering directory 
> `/home/datahead/Documents/SciVis/hw2/netcdf/netcdf-4.3.2/ncgen3'
> make[4]: Nothing to be done for `all'.
> make[4]: Leaving directory 
> `/home/datahead/Documents/SciVis/hw2/netcdf/netcdf-4.3.2/ncgen3'
> ============================================================================
> Testsuite summary for netCDF 4.3.2
> ============================================================================
> # TOTAL: 2
> # PASS:  0
> # SKIP:  0
> # XFAIL: 0
> # FAIL:  2
> # XPASS: 0
> # ERROR: 0
> ============================================================================
> See ncgen3/test-suite.log
> Please report to address@hidden
> ============================================================================
> make[3]: *** [test-suite.log] Error 1
> make[3]: Leaving directory 
> `/home/datahead/Documents/SciVis/hw2/netcdf/netcdf-4.3.2/ncgen3'
> make[2]: *** [check-TESTS] Error 2
> make[2]: Leaving directory 
> `/home/datahead/Documents/SciVis/hw2/netcdf/netcdf-4.3.2/ncgen3'
> make[1]: *** [check-am] Error 2
> make[1]: Leaving directory 
> `/home/datahead/Documents/SciVis/hw2/netcdf/netcdf-4.3.2/ncgen3'
> make: *** [check-recursive] Error 1
> 
> 


Ticket Details
===================
Ticket ID: JQZ-512952
Department: Support netCDF
Priority: Normal
Status: Closed