git2r icon indicating copy to clipboard operation
git2r copied to clipboard

Conda, OpenSSL & git2r

Open tallulandrews opened this issue 5 years ago • 1 comments

I've installed OpenSSL and libgit2 with anaconda but I still get the following error when trying to install git2r with the R I installed using conda: Error: package or namespace load failed for ‘git2r’ in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/cluster/home/tandrews/Rpackages/00LOCK-git2r/00new/git2r/libs/git2r.so': /cluster/home/tandrews/Rpackages/00LOCK-git2r/00new/git2r/libs/git2r.so: undefined symbol: OPENSSL_init_ssl

Any suggestions? (Note I don't have admin priviledges, so everything must be installed locally hence why I'm using conda).

tallulandrews avatar Jan 25 '20 19:01 tallulandrews

If you're using conda, I recommend installing the R packages via conda as well. In this case:

conda install -c conda-forge r-git2r

If you have any trouble with the conda binary for git2r, you can open an Issue for the repository r-git2r-feedstock.

jdblischak avatar Apr 22 '20 16:04 jdblischak