Public bug reported:

I tried to compile a simple c++ program and clang++-10 fails with:

/usr/bin/ld: -lstdc++ can't be found

clang++ searches in /usr/lib/gcc/x86_64-linux-gnu/10 but depends on
libstdc++-9-dev which only installs it in /usr/lib/gcc/x86_64-linux-
gnu/9.

I installed libstdc++-10-dev and everything worked again.

So the dependencies of the package should be corrected.

** Affects: llvm-toolchain-10 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1878881

Title:
  clang-10 depends on libstdc++-9-dev instead of libstdc++-10-dev

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-10/+bug/1878881/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to