Entering edit mode
Hi all,
I am having problems installing the package Rhdf5lib with the latest version 1.12.0
BiocManager::install("Rhdf5lib")
and also with the previous version 1.10.1 directly by .tar.gz file
install.packages("/usr/local/Rhdf5lib_1.10.1.tar.gz", repos = NULL, type = "source", lib="/usr/local/lib/R/site-library")
always with the same error:
cp: cannot stat 'hdf5/src/.libs/libhdf5.a': No such file or directory
make: *** [Makevars:39: copying] Error 1
ERROR: compilation failed for package ‘Rhdf5lib’
* removing ‘/usr/local/lib64/R/library_Bioc_3_12/Rhdf5lib’
The downloaded source packages are in
‘/tmp/RtmpW0eoX8/downloaded_packages’
Warning message:
In install.packages(...) :
installation of package ‘Rhdf5lib’ had non-zero exit status
I would appreciate any suggestions.
Thanks in advance, Giovanni
sessionInfo()
R version 4.0.3 (2020-10-10)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 20.04.1 LTS
Matrix products: default
BLAS: /usr/local/lib/R/lib/libRblas.so
LAPACK: /usr/local/lib/R/lib/libRlapack.so
locale:
[1] LC_CTYPE=it_IT.UTF-8 LC_NUMERIC=C
[3] LC_TIME=it_IT.UTF-8 LC_COLLATE=it_IT.UTF-8
[5] LC_MONETARY=it_IT.UTF-8 LC_MESSAGES=it_IT.UTF-8
[7] LC_PAPER=it_IT.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=it_IT.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] BiocManager_1.30.10 compiler_4.0.3 tools_4.0.3
That error is almost certainly not the real problem. There it's trying to copy the compiled HDF5 library, and failing because it doesn't exist. We need to understand we the compilation is failing.
Can you update your post to include all the output that's printed during installation?
Hi Mike,
OK this is the output during the latest version installation:
Thanks for the reply