- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Julia 1.2.0 could not load library "libgit2" #33038
Comments
Please use the official binaries rather than those provided by system package managers. Is this reproducible using the official binaries? |
I have reported this issue on the Arch Linux bug tracker: https://bugs.archlinux.org/task/63536 |
Another Arch user there, @ararslan The official binaries work fine---I checked. It's a problem with the file Make.user in the Arch package. @goggle You have to download all files from https://git.archlinux.org/svntogit/community.git/tree/trunk?h=packages/julia
I recompiled and voilà. Unfortunately I deleted the registry instead of renaming (found the same link as @goggle ... and I leave on the edge) so julia thinks I don't have any packages installed. Renaming the environment from |
@ararslan I know this ticket is closed but I have this error but produced by different way. In a ipynb file I called this code:
on github, nbviewer.jupyter.org or on my own jupyter-lab which produced the error:
What do you think this can come from ? |
Looks like the builds of the libgit2 and libmbedtls libraries got out-of-sync. Sorry I can’t be of more help than that. |
My OS is Arch Linux x86_64 5.2.9-arch1-1-ARCH.
I installed julia 1.2.0 from archlinux official repositories
# pacman -S julia
but when i ran julia and tried to update the packages
$ julia
]update
it came an error, i looked it up and simply followed this issue
i deleted the entire dictionary ~/.julia/registries/General/
$ rm -rf ~/.julia/registries/General/
then, i went back to update the packages again:
$ julia
]update
it came a error like this:
I tried to find the answer from the internet, but i couldn't find anything useful.
so i had to solve it myself, and did this:
i don't know how it means,
but i thought the problem was in the libgit2.so file,
so i just linked it with the system's libgit2.so, and did this:
# ln -sf /usr/lib/libgit2.so /usr/lib/julia/libgit2.so
and it worked, no more errors show up.
The text was updated successfully, but these errors were encountered: