r-lib / gert

Simple git client for R
https://docs.ropensci.org/gert/
Other
146 stars 31 forks source link

libssl.so.1.0.0: cannot open shared object file: No such file or directory #197

Closed ryanhchung closed 1 year ago

ryanhchung commented 1 year ago

Hi, I'm troubleshooting while installing gert. Unable to install gert in my working environment (Centos Server)

** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
Error: package or namespace load failed for ‘gert’ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/groups/collinsgrp/software/conda/3-4.7.12/envs/seurat4/lib/R/library/00LOCK-gert/00new/gert/libs/gert.so':
  libssl.so.1.0.0: cannot open shared object file: No such file or directory
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/groups/collinsgrp/software/conda/3-4.7.12/envs/seurat4/lib/R/library/gert’

r$> sessionInfo()
R version 4.1.3 (2022-03-10)
Platform: x86_64-conda-linux-gnu (64-bit)
Running under: CentOS Linux 7 (Core)

I don't have root access, so I asked the IT support team to install libgit2-devel, but it still displays the same error after installing it. I also tried to install r-gert by conda but still not working. What should I do? Is gert not compatible with centos7 too?

Thank you!

jeroen commented 1 year ago

You likely have conflicting openssl libs on your system. Can you please show the full install log?

Btw you seem to be using conda so maybe you can just do

conda install -c conda-forge r-gert