With Julia 1.5.0-beta1 on Ubuntu 18.04.4 I’m getting:
(@v1.5) pkg> build Cxx
Building Cxx → `~/.julia/packages/Cxx/1RaOv/deps/build.log`
┌ Error: Error building `Cxx`:
│ ERROR: LoadError: could not load library "libLLVM-9.0.1"
│ libLLVM-9.0.1.so: cannot open shared object file: No such file or directory
Ubuntu 18.04 package manager doesn’t provide libLLVM-9.0.1, libLLVM-9 is the newest available. What is the solution?
Theoretically yes, but it is huge collection of modules and I’ve heard many horror stories about building ROS from source gone wrong. I also have other dependencies. I’m trying to find an easy way before I do something more dramatic. I’m tempted to give Manjaro a try. Ubuntu restrictions on available package versions are pretty annoying.
I’m having the same problem with Julia docker image:
paul@desktop:~$ docker run -it --rm julia
(@v1.4) pkg> add Cxx
.....
Building Cxx → `~/.julia/packages/Cxx/1RaOv/deps/build.log`
┌ Error: Error building `Cxx`:
│ ERROR: LoadError: could not load library "libLLVM-8.0.1"
I just did that. The same problem on Ubuntu 20.04.1, unfortunately. Installing llvm-9 and llvm-9-dev does not help. What kind of Linux is actually compatible with Cxx? Is the difference between LLVM 9.0 and 9.0.1 so ground-breaking to justify incompatibility with the most popular Linux distribution?