-
Notifications
You must be signed in to change notification settings - Fork 108
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.4.3] when building, find a error occured by libllvm #477
Comments
by the way, it's useless after install some package about libllvm |
I have the same problem. I think maybe the problem come from that linux is not take into account in builds.jl at line 20 : it looks for a shared library "libLLVM-8.0.1", but the file name is actually "libLLVM.so" in /opt/julia-1.4.2/lib/julia/. Source of builds.jl : # try to autodetect C++ ABI in use
llvm_path = Sys.iswindows() ? "LLVM" :
Sys.isapple() ? "libLLVM" : "libLLVM-$(Base.libllvm_version)"
llvm_lib_path = Libdl.dlpath(llvm_path)
old_cxx_abi = findfirst("_ZN4llvm3sys16getProcessTripleEv", String(open(read, llvm_lib_path))) !== nothing
old_cxx_abi && (ENV["OLD_CXX_ABI"] = "1") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: