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
(v1.4) pkg> build Cxx
Building Cxx →`~/.julia/packages/Cxx/1RaOv/deps/build.log`
┌ Error: Error building `Cxx`:
│ ERROR: LoadError: could not load library "libLLVM-8.0.1"
│ libLLVM-8.0.1.so: Unable to open shared object file: No file or directory
│ Stacktrace:
│ [1] dlopen(::String, ::UInt32; throw_error::Bool) at /home/steiner/disk/disk1/Download/images/julia-1.4.2/usr/share/julia/stdlib/v1.4/Libdl/src/Libdl.jl:109
│ [2] dlopen at /home/steiner/disk/disk1/Download/images/julia-1.4.2/usr/share/julia/stdlib/v1.4/Libdl/src/Libdl.jl:109 [inlined] (repeats 2 times)
│ [3] dlpath(::String) at /home/steiner/disk/disk1/Download/images/julia-1.4.2/usr/share/julia/stdlib/v1.4/Libdl/src/Libdl.jl:232
│ [4] top-level scope at /home/steiner/.julia/packages/Cxx/1RaOv/deps/build.jl:23
│ [5] include(::String) at ./client.jl:439
│ [6] top-level scope at none:5
│ in expression starting at /home/steiner/.julia/packages/Cxx/1RaOv/deps/build.jl:23
│ writing path.jl file
│ Tuning for julia installation at /home/steiner/julia-1.4.2/bin with sources possibly at /home/steiner/
└ @ Pkg.Operations ~/disk/disk1/Download/images/julia-1.4.2/usr/share/julia/stdlib/v1.4/Pkg/src/Operations.jl:899
The text was updated successfully, but these errors were encountered:
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")
The text was updated successfully, but these errors were encountered: