Public bug reported: Building with clang on LP for ubuntu-21.10 (any other versions are fine) fails with this on configure step:
/usr/bin/ld: /usr/lib/llvm-13/bin/../lib/LLVMgold.so: error loading plugin: /usr/lib/llvm-13/bin/../lib/LLVMgold.so: cannot open shared object file: No such file or directory clang: error: linker command failed with exit code 1 (use -v to see invocation) configure:2765: $? = 1 Adding explicit dep on llvm-13-linker-tools "fixes" the problem, but breaks on other distros. Please add the dep on lvm-13-linker-tools to the appropriate llvm package. ** Affects: llvm-toolchain-13 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to llvm-toolchain-13 in Ubuntu. https://bugs.launchpad.net/bugs/1979125 Title: missing dep on llvm-13-linker-tools Status in llvm-toolchain-13 package in Ubuntu: New Bug description: Building with clang on LP for ubuntu-21.10 (any other versions are fine) fails with this on configure step: /usr/bin/ld: /usr/lib/llvm-13/bin/../lib/LLVMgold.so: error loading plugin: /usr/lib/llvm-13/bin/../lib/LLVMgold.so: cannot open shared object file: No such file or directory clang: error: linker command failed with exit code 1 (use -v to see invocation) configure:2765: $? = 1 Adding explicit dep on llvm-13-linker-tools "fixes" the problem, but breaks on other distros. Please add the dep on lvm-13-linker-tools to the appropriate llvm package. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-13/+bug/1979125/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp