BiocParallel icon indicating copy to clipboard operation
BiocParallel copied to clipboard

BiocParallel.so: undefined symbol: getrandom

Open yjx1217 opened this issue 4 years ago • 0 comments

Hello,

I was trying to install BiocParallel with BiocManager::install("BiocParallel") but got the following errors. I've also tried alternative versions of Rs installed but the problem remains the same. Could you help me to figure out the cause of this problem? Thanks in advance.

Error message:

...
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
Error: package or namespace load failed for ‘BiocParallel’ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/public/jxyue/Projects/X/build/R_libs/00LOCK-BiocParallel/00new/BiocParallel/libs/BiocParallel.so':
  /public/jxyue/Projects/X/build/R_libs/00LOCK-BiocParallel/00new/BiocParallel/libs/BiocParallel.so: undefined symbol: getrandom
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/public/jxyue/Projects/X/build/R_libs/BiocParallel’

The downloaded source packages are in
	‘/tmp/RtmpmJMSCe/downloaded_packages’
Installation path not writeable, unable to update packages: backports, boot,
  callr, class, cli, cluster, codetools, colorspace, crayon, desc, digest,
  fansi, farver, ggplot2, isoband, KernSmooth, labeling, lattice, lifecycle,
  magrittr, MASS, Matrix, mgcv, nlme, nnet, pillar, pkgbuild, pkgload,
  processx, ps, R6, Rcpp, rlang, rprojroot, rstudioapi, spatial, survival,
  testthat, tibble, utf8, vctrs, withr
Warning message:
In install.packages(...) :
  installation of package ‘BiocParallel’ had non-zero exit status

And my R session info is:

sessionInfo() R version 3.6.0 (2019-04-26) Platform: x86_64-redhat-linux-gnu (64-bit) Running under: CentOS Linux 7 (Core)

Matrix products: default BLAS/LAPACK: /usr/lib64/R/lib/libRblas.so

locale: [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C

attached base packages: [1] stats graphics grDevices utils datasets methods base

loaded via a namespace (and not attached): [1] compiler_3.6.0

Best, Jia-Xing

yjx1217 avatar Mar 16 '21 05:03 yjx1217