Problem building julia: version `JL_LLVM_6.0' not found


#1

I tried to build the current master of Julia and it fails with the following error:

/home/jan/juliadev/usr/bin/julia: /usr/lib/x86_64-linux-gnu/libLLVM-6.0.so: version `JL_LLVM_6.0' not found (required by /home/jan/juliadev/usr/bin/../lib/libjulia.so.0.7)
Makefile:187: recipe for target '/home/jan/juliadev/usr/lib/julia/basecompiler.ji' failed
make[1]: *** [/home/jan/juliadev/usr/lib/julia/basecompiler.ji] Error 1
Makefile:75: recipe for target 'julia-base-compiler' failed
make: *** [julia-base-compiler] Error 2

Any ideas what this is about and how to fix it?