Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure to compile git2r on Ubuntu 24.04 #472

Open
wolass opened this issue Oct 28, 2024 · 0 comments
Open

Failure to compile git2r on Ubuntu 24.04 #472

wolass opened this issue Oct 28, 2024 · 0 comments

Comments

@wolass
Copy link

wolass commented Oct 28, 2024

Hi, I dont know if this is related to the Issue #471 or not.

I em encountering problems when installing git2r from CRAN or from github.

Error: package or namespace load failed for ‘git2r’ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/home/wolass/R/x86_64-pc-linux-gnu-library/4.3/00LOCK-git2r/00new/git2r/libs/git2r.so':
  libgit2.so.1.8: cannot open shared object file: No such file or directory
Error: loading failed
Execution halted

I have installed lib2git (although could not find it on apt repos in ubuntu 24.04) from source using cmake.

The file that is reporting an error is acutally visible in the system.

❯ sudo find / | grep libgit2.so
/usr/lib/x86_64-linux-gnu/libgit2.so
/usr/local/lib/libgit2.so
/usr/local/lib/libgit2.so.1.8.3
/usr/local/lib/libgit2.so.1.8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant