[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDF #DDL-847505]: error in make check
- Subject: [netCDF #DDL-847505]: error in make check
- Date: Thu, 02 Oct 2014 14:22:06 -0600
Hello,
I can't speak as to why h5import did not build/compile. Regarding your initial
bug report, I suspect that you need to specify /usr/local/lib in your
LD_LIBRARY_PATH when you run 'make check'. The call would then look as follows:
$ LD_LIBRARY_PATH=/usr/local/lib make check
It is also possible (but I feel less likely) that it is a permission problem;
do you have read access for libhdf and libhdf_dl?
Please check the permissions and try running make check while specifying
LD_LIBRARY_PATH and let me know if that works.
Thank you,
-Ward
> Some more INFO.
>
>
> This time, I followed
>
> http://www.unidata.ucar.edu/software/netcdf/docs/netcdf-install/Quick-Instructions.html
>
>
> installing zlib has no problem
>
> but installing HDF5 failed at
> Testing h5dump --enable-error-stack -d integer -o out1.bin -b tbinary. PASSED
> Running h5import out1.bin -c out3.h5import -o out1.h5
> testh5dump.sh: line 913:
> /home/ucam/Install-file/downloadSoftware/hdf5-1.8.13/tools/h5dump/../h5import/h5import:
> No such file or directory
>
> When I checked, it is ture:
> ucam@atcghost:~/Install-file/downloadSoftware/hdf5-1.8.13/tools/h5dump$ ls
> ../h5import/h5import
> ls: cannot access ../h5import/h5import: No such file or directory
>
>
> See attached.
>
> Any suggestion?
>
> Best regards
>
> Xiaofeng
>
>
>
> From: Gao, Xiaofeng (STFC,ROE,UKATC)
> Sent: 02 October 2014 17:32
> To: address@hidden
> Cc: Gao, Xiaofeng (STFC,ROE,UKATC)
> Subject: error in make check
>
> Hello, Sir /Madam
>
> I have Debian squeeze OS install on my PC, and downloaded
>
>
> http://www.hdfgroup.org/ftp/HDF5/current/src/ hdf5-1.8.13.tar.gz
>
> ftp://ftp.unidata.ucar.edu/pub/netcdf/ netcdf-4.3.1.zip
>
>
>
> https://code.google.com/p/netcdf4-python/wiki/UbuntuInstall
>
> and built HDF5
>
> $./configure --prefix=/usr/local --enable-shared --enable-hl
>
> $make
>
> $sudo make install
>
>
>
> netCDF4
>
> $ LDFLAGS=-L/usr/local/lib CPPFLAGS=-I/usr/local/include ./configure
> --enable-netcdf-4 --enable-dap --enable-shared --prefix=/usr/local
>
> $ make
>
> $sudo make install
>
>
>
>
>
> All seemed OK.
>
>
>
> But, when I tried make check, it failed. See attached. I check
> /usr/local/lib, libhdf5_hl.so.8 is there.
>
>
>
> ./tst_h_dimscales4: error while loading shared libraries: libhdf5_hl.so.8:
> cannot open shared object file: No such file or directory
>
> FAIL: tst_h_dimscales4
>
> ================================================
>
> 26 of 26 tests failed
>
> Please report to address@hidden<mailto:address@hidden>
>
> ================================================
>
> make[2]: *** [check-TESTS] Error 1
>
> make[2]: Leaving directory
> `/home/ucam/Install-file/downloadSoftware/netcdf-4.3.1/h5_test'
>
> make[1]: *** [check-am] Error 2
>
> make[1]: Leaving directory
> `/home/ucam/Install-file/downloadSoftware/netcdf-4.3.1/h5_test'
>
> make: *** [check-recursive] Error 1
>
>
>
>
>
>
>
> Any suggestion?
>
>
>
> Thanks for your time in advance.
>
>
>
> Best regards
>
>
>
> Xiaofeng
>
>
>
>
>
>
>
> ==============================================
> Dr.Xiaofeng Gao
> UK Astronomy Technology Centre
> Royal Observatory Tel. : +44 (0)131 668 8233 (direct)
> Blackford Hill +44 (0)131 668 8100 (switchboard)
> Edinburgh EH9 3HJ Fax. : +44 (0)131 668 8445
>
> Science & Technology Facilities Council
>
> UK E-mail :
> address@hidden<mailto:address@hidden>
>
>
>
>
> --
> Scanned by iCritical.
>
>
>
Ticket Details
===================
Ticket ID: DDL-847505
Department: Support netCDF
Priority: Normal
Status: Closed