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

Bug #1878881 reported by Gon Solo
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
llvm-toolchain-10 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

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.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in llvm-toolchain-10 (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.