Bug#896017: "/usr/bin/ld: cannot find -lstdc++" when building with clang

Drew Parsons dparsons at debian.org
Fri Jun 24 19:41:00 BST 2022


Package: clang
Version: 1:13.0-54
Followup-For: Bug #896017
Control: affects -1 src:xtensor

Yes, libstd++ is installed.

I get the same error running xtensor tests using clang

clang Depends: clang13 Depends: libstdc++-11-dev

libstdc++-11-dev installs libstd++ as
/usr/lib/gcc/x86_64-linux-gnu/11/libstdc++.so

Is it bug in libstdc++-11-dev?  



-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.18.0-1-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages clang depends on:
ii  clang-13  1:13.0.1-6

clang recommends no packages.

clang suggests no packages.

-- no debconf information



More information about the Pkg-llvm-team mailing list