Bug#996823: libunwind-13: Missing symlink libunwind.so to libunwind.so.1 causes -lc++ to fail since it links to -lunwind

Simon McVittie smcv at pseudorandom.co.uk
Tue Oct 19 13:46:59 BST 2021


Control: tags -1 + moreinfo

On Tue, 19 Oct 2021 at 13:05:49 +0200, root wrote:
> Version: 1:13.0.0-6

Are you sure you found this bug in that version?

I think this might be a duplicate of #995810, which was fixed in 1:13.0.0-3.
This means 1:13.0.0-2 in Ubuntu impish will still have this bug, but in
version 1:13.0.0-6 in Debian, it should be fixed.

> -- System Information:
> Debian Release: 11.0
>   APT prefers impish-updates
>   APT policy: (500, 'impish-updates'), (500, 'impish-security'), (500, 'impish')

This is the Debian bug tracker, not the Ubuntu bug tracker. If there is
a problem with packages in Ubuntu, please report it to Launchpad.

> libc++ installs /usr/lib/llvm-13/lib/libc++.so with the content INPUT(libc++.so.1 -lunwind -lc++abi)
> linking to libunwind.

/usr/lib/llvm-13/lib/libc++.so seems to be in libc++-13-dev...

> The libunwind package does only include /usr/lib/x86_64-linux-gnu/libunwind.so.1
> symlink but not /usr/lib/x86_64-linux-gnu/libunwind.so which should be
> included

... which Depends on libunwind-13-dev, and libunwind-13-dev includes
/usr/lib/llvm-13/lib/libunwind.so.

It is correct that files and symlinks that are not required at runtime,
only for development, are only shipped in -dev packages.

    smcv



More information about the Pkg-llvm-team mailing list