I have realised that to enable softpipe, you also need to:
in addition to:
but even then I get the same error.
This is an annoying bug and I would like to figure a way around it (especially for being able to plot with julia with all backends).
If this is an Ubuntu bug, I will report it to Ubuntu, but first I need to understand it better.
How can I debug this?
If this is a LLVM version conflict problem, I don’t really see a way around it except for renaming all LLVM symbols in either julia or mesa.
In https://github.com/JuliaLang/julia/issues/19606 , it says “The Mesa projects strongly recommends against linking their drivers dynamically for this reason”. Can we have the source of this statement?
On my system mesa is using LLVM6
$ glxinfo |grep -i llvm
Device: AMD JUNIPER (DRM 2.50.0 / 4.15.0-23-generic, LLVM 6.0.0) (0x68ba)
OpenGL renderer string: AMD JUNIPER (DRM 2.50.0 / 4.15.0-23-generic, LLVM 6.0.0)
LLVM6 shared lib is installed and if I try to remove the package with apt it tries to deinstall most of the system packages including mesa, so it looks like mesa is linking LLVM dynamically however I could not find any explicit LLVM dependencies in the mesa shared lib:
$ ldd /usr/lib/x86_64-linux-gnu/*mesa* |grep -i LLVM
Is https://github.com/JuliaLang/julia/pull/24890 going to fix this problem in Julia 0.7?