I ran into this and my workaround was:
ln -sf /usr/lib/llvm-3.4/lib/LLVMgold.so /usr/lib/LLVMgold.so echo /usr/lib/llvm-3.4/lib >> /etc/ld.so.conf ldconfig
I also had to add -B/usr/lib/gold-ld to my clang options to get it to use /usr/bin/ld.gold instead of /usr/bin/ld.bfd
(-B takes a directory containing ld, not a path to a linker!)
I ran into this and my workaround was:
ln -sf /usr/lib/ llvm-3. 4/lib/LLVMgold. so /usr/lib/ LLVMgold. so llvm-3. 4/lib >> /etc/ld.so.conf
echo /usr/lib/
ldconfig
I also had to add -B/usr/lib/gold-ld to my clang options to get it to use /usr/bin/ld.gold instead of /usr/bin/ld.bfd
(-B takes a directory containing ld, not a path to a linker!)