You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 4, 2019. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 4, 2019. It is now read-only.
fatal: error thrown and no exception handler available.
Base.InitError(mod=:LibGit2, error=ErrorException("error initializing LibGit2 module"))
rec_backtrace at /home/mauro/julia/julia-0.6/src/stackwalk.c:84
record_backtrace at /home/mauro/julia/julia-0.6/src/task.c:245
jl_throw at /home/mauro/julia/julia-0.6/src/task.c:564
__init__ at ./libgit2/libgit2.jl:920
unknown function (ip: 0x7fe0b9575e58)
jl_call_fptr_internal at /home/mauro/julia/julia-0.6/src/julia_internal.h:339 [inlined]
jl_call_method_internal at /home/mauro/julia/julia-0.6/src/julia_internal.h:358 [inlined]
jl_apply_generic at /home/mauro/julia/julia-0.6/src/gf.c:1933
jl_apply at /home/mauro/julia/julia-0.6/src/julia.h:1424 [inlined]
jl_module_run_initializer at /home/mauro/julia/julia-0.6/src/toplevel.c:87
_julia_init at /home/mauro/julia/julia-0.6/src/init.c:733
julia_init at /home/mauro/julia/julia-0.6/src/task.c:297
main at ./hello (unknown line)
__libc_start_main at /usr/lib/libc.so.6 (unknown line)
_start at ./hello (unknown line)
Compilation completes without any problem. Julia 0.6, Linux
I have this problem as well - but only on Scientific Linux (7.4), not on Ubuntu 17.04. Both are using the exact same Julia build (the official 0.6.0 amd64 binaries), and the latest version of this repository. How odd.
jpsamaroo@prometheus ~/static-julia/builddir $ ./hello
fatal: error thrown and no exception handler available.
Base.InitError(mod=:LibGit2, error=ErrorException("error initializing LibGit2 module"))
rec_backtrace at /opt/julia-0.6/src/stackwalk.c:84
record_backtrace at /opt/julia-0.6/src/task.c:245
jl_throw at /opt/julia-0.6/src/task.c:564
__init__ at ./libgit2/libgit2.jl:920
unknown function (ip: 0x7fddef457e88)
jl_call_fptr_internal at /opt/julia-0.6/src/julia_internal.h:339 [inlined]
jl_call_method_internal at /opt/julia-0.6/src/julia_internal.h:358 [inlined]
jl_apply_generic at /opt/julia-0.6/src/gf.c:1933
jl_apply at /opt/julia-0.6/src/julia.h:1424 [inlined]
jl_module_run_initializer at /opt/julia-0.6/src/toplevel.c:87
_julia_init at /opt/julia-0.6/src/init.c:733
julia_init at /opt/julia-0.6/src/task.c:297
main at ./hello (unknown line)
__libc_start_main at /lib/libc.so.6 (unknown line)
_start at ./hello (unknown line)
I'm not using pre-packaged binaries, I'm building everything from source. Currently, all of my 0.6 Gentoo systems are having this same issue with static-julia master.
I solved it on linux
By copying: joinpath(ROOT,"deps","julia","julia-0.6.0-linux-x86_64","share","julia","cert.pem")
and setting: export SSL_CERT_FILE=$some_path/cert.pem
Reacted by Fabrício Rodrigues and Mettu Venkataramireddy
To add to @joaquimg 's reply, when using julia compiled from source, do the following (this command is assuming the julia directory is /opt/julia): SSL_CERT_FILE=/opt/julia/usr/share/julia/cert.pem ./hello. This worked well for me. Thanks @joaquimg !
(Of course, this obviously should be fixed in a cleaner way 😄)
Activity
tjol commentedon Oct 16, 2017
I have this problem as well - but only on Scientific Linux (7.4), not on Ubuntu 17.04. Both are using the exact same Julia build (the official 0.6.0 amd64 binaries), and the latest version of this repository. How odd.
blegat commentedon Oct 16, 2017
I have the same issue on Arch Linux using Julia v0.6.0.
ViralBShah commentedon Oct 16, 2017
Can you post the Julia version, which commit of
static-juliaand the command used to generate the executable?tjol commentedon Oct 16, 2017
Here's a full transcript:
The exact same procedure, with the exact same commit and julia version worked just fine for me on Ubuntu 17.04.
jpsamaroo commentedon Oct 16, 2017
Same issue on Gentoo Linux, Kernel 4.12.0. Using Julia 0.6.1-pre.0 and static-julia master (82d86fe). Build output:
Executing ./hello:
ViralBShah commentedon Oct 16, 2017
@tjol @jpsamaroo Are you using the generic Julia binaries from julialang.org?
tjol commentedon Oct 16, 2017
Yes.
tjol commentedon Oct 16, 2017
I'm able to easily reproduce this in a clean virtual machine:
sudo yum groupinstall "Development Tools"sudo yum install lynxmay be helpful.for pkg in ["Distributions", "ArgParse", "UnicodePlots"] Pkg.add(pkg) endgit clone https://github.com/JuliaComputing/static-julia.gitjpsamaroo commentedon Oct 16, 2017
I'm not using pre-packaged binaries, I'm building everything from source. Currently, all of my 0.6 Gentoo systems are having this same issue with static-julia master.
joaquimg commentedon Oct 30, 2017
I solved it on linux
By copying:
joinpath(ROOT,"deps","julia","julia-0.6.0-linux-x86_64","share","julia","cert.pem")and setting:
export SSL_CERT_FILE=$some_path/cert.pemjpsamaroo commentedon Oct 31, 2017
To add to @joaquimg 's reply, when using julia compiled from source, do the following (this command is assuming the julia directory is
/opt/julia):SSL_CERT_FILE=/opt/julia/usr/share/julia/cert.pem ./hello. This worked well for me. Thanks @joaquimg !(Of course, this obviously should be fixed in a cleaner way 😄)