Re: pkg check -ad, llvm10 is missing a required shared library

From: Philipp Ost <pj_at_smo.de>
Date: Mon, 9 Aug 2021 22:36:36 +0200
On 8/9/21 10:27 PM, Mel Pilgrim wrote:
> llvm10 and/or pkg seems to be broken in an odd way:
> 
> # pkg check -ad
> Checking all packages: 100%
> llvm10 is missing a required shared library: libcxxrt.so.1
> llvm10 is missing a required shared library: libc.so.7
> llvm10 is missing a required shared library: libthr.so.3
> llvm10 is missing a required shared library: libm.so.5
> llvm10 is missing a required shared library: libncurses.so.8
> 
> This is on 12.2-p9.

It's not only llvm10:

# pkg check -Bdna
[...]
Checking all packages: 100%
llvm10 is missing a required shared library: libcxxrt.so.1
llvm10 is missing a required shared library: libc.so.7
llvm10 is missing a required shared library: libthr.so.3
llvm10 is missing a required shared library: libm.so.5
llvm10 is missing a required shared library: libncurses.so.8
llvm11 is missing a required shared library: libcxxrt.so.1
llvm11 is missing a required shared library: libc.so.7
llvm11 is missing a required shared library: libthr.so.3
llvm11 is missing a required shared library: libm.so.5
llvm11 is missing a required shared library: libncurses.so.8
llvm12 is missing a required shared library: libcxxrt.so.1
llvm12 is missing a required shared library: libc.so.7
llvm12 is missing a required shared library: libthr.so.3
llvm12 is missing a required shared library: libm.so.5
llvm12 is missing a required shared library: libncurses.so.8

llvm{70,90} don't show this behaviour.

> 
> Why is llvm10 adding explicit dependencies for base shlibs?
> 
> Why does pkg check -ad think they're missing?
> 
Received on Mon Aug 09 2021 - 20:36:36 UTC

Original text of this message