Skip to content
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

Error building Cxx #483

Closed
hb2hb opened this issue Oct 2, 2020 · 2 comments
Closed

Error building Cxx #483

hb2hb opened this issue Oct 2, 2020 · 2 comments

Comments

@hb2hb
Copy link

hb2hb commented Oct 2, 2020

I try to use Cxx

Version 1.4.2 (2020-05-23) 
Fedora 32 build 
 
julia> using Pkg 

(@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: can't open shared object file: No such file or directory 
│ Stacktrace: 
│  [1] dlopen at /builddir/build/BUILD/julia/build/usr/share/julia/stdlib/v1.4/Libdl/src/Libdl.jl:109 [inlined] (repeats 2 times) 
│  [2] dlpath(::String) at /builddir/build/BUILD/julia/build/usr/share/julia/stdlib/v1.4/Libdl/src/Libdl.jl:232 
│  [3] top-level scope at /home/henry/.julia/packages/Cxx/1RaOv/deps/build.jl:26 
│  [4] top-level scope at none:5 
│ in expression starting at /home/henry/.julia/packages/Cxx/1RaOv/deps/build.jl:26 
│ writing path.jl file 
│ Tuning for julia installation at /usr/bin with sources possibly at / 
│ llvm_path: libLLVM-8.0.1 
└ @ Pkg.Operations /builddir/build/BUILD/julia/build/usr/share/julia/stdlib/v1.4/Pkg/src/Operations.jl:899 

I created /usr/lib64/julia/libLLVM-8.0.1.s0 as symbolic link to /usr/lib64/julia/libLLVM-8jl.so

[henry@devpc julia]$ ls -la /usr/lib64/julia/*LLVM* 
lrwxrwxrwx 1 root root       31 сен 30 16:50 /usr/lib64/julia/libLLVM-8.0.0.s0 -> /usr/lib64/julia/libLLVM-8jl.so 
lrwxrwxrwx 1 root root       31 сен 30 16:50 /usr/lib64/julia/libLLVM-8.0.1.s0 -> /usr/lib64/julia/libLLVM-8jl.so 
-rwxr-xr-x 1 root root 47190472 июн 14 23:44 /usr/lib64/julia/libLLVM-8jl.so 
lrwxrwxrwx 1 root root       31 сен 30 16:50 /usr/lib64/julia/libLLVM-8.s0 -> /usr/lib64/julia/libLLVM-8jl.so 
lrwxrwxrwx 1 root root       14 июн 14 23:21 /usr/lib64/julia/libLLVM.so -> /usr/lib64/julia/libLLVM-8jl.so 

Where to put the symbolic link to libLLVM-8jl.so as libLLVM-8.0.1.s0
so that it will be visible by julia builder ?

Thanks a lot in advance!

@Gnimuc
Copy link
Member

Gnimuc commented Oct 2, 2020

dup of #464 (comment)

@Gnimuc Gnimuc closed this as completed Oct 2, 2020
@Gnimuc
Copy link
Member

Gnimuc commented Oct 2, 2020

In case you'd like to do a source build with Julia 1.4, there is an unfinished PR for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants