It seems like you have two problems, which may or may not be related.
git clone
doesn’t work withhttps
URLs. This could possibly be explained by the existence of a firewall or something being wrong with certificates on your computer. This is outside my competence so I can’t do much more than speculate about it. It definitely doesn’t have anything to do with Julia though.- Julia’s LibGit2 stdlib doesn’t work properly. This is used by default by Pkg for git operations. The crash when trying to clone https could be a rare bug that is triggered by problem 1, but not very likely since it crashes with a git URL too.
For speculative diagnostics, does
julia> filter(x -> contains(first(x), "LD_"), ENV)
return any entries? Never mind, run versioninfo()
instead.
You can probably work around problem 2 by setting the environment variable JULIA_PKG_USE_CLI_GIT
to true
. This will make Pkg use an external git call instead of LibGit2 for some git operations. You will still run into problem 1 though unless you change to a git URL. It’s also somewhat likely that it will again fail to install packages from the local registry due to the https issue. There are workarounds for that too but let’s get back to that if it does turn out to be a problem.