Gentoo Archives: gentoo-user

From: Nikos Chantziaras <realnc@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: "Broken soname dependencies found" after portage upgrade
Date: Mon, 13 Dec 2021 17:25:29
Message-Id: sp7vki$hp7$1@ciao.gmane.io
In Reply to: Re: [gentoo-user] "Broken soname dependencies found" after portage upgrade by tastytea
1 On 12/12/2021 18:57, tastytea wrote:
2 > On 2021-12-12 18:11+0200 Nikos Chantziaras <realnc@×××××.com> wrote:
3 >
4 >> After upgrading from portage 3.0.28 to 3.0.30, I get this when doing
5 >> emerge --depclean:
6 >>
7 >> Calculating dependencies... done!
8 >> * Broken soname dependencies found:
9 >> * x86_64: libexpat.so required by:
10 >> * app-emulation/vmware-workstation-16.2.1.18811642-r1
11 >> [...]
12 >> * x86_64: liblttng-ust.so.0 required by:
13 >> * dev-dotnet/dotnet-sdk-bin-6.0.100
14 >> [...]
15 >
16 > It means the binary wants to load some libraries (like libexpat.so)
17 > portage can't find.
18 >
19 >> (And before anyone asks, the software works just fine, and neither
20 >> revdep-rebuild nor revdep-rebuild.sh find anything wrong.)
21 >
22 > But vmware (or rather, the linker) seems to find them. Maybe they are in
23 > the same directory as the binary and portage doesn't search there? You
24 > can check which libraries exactly the binary wants to load with ldd.
25
26 Example:
27
28 $ ldd
29 /opt/vmware/lib/vmware-installer/3.0.0/python/lib/lib-dynload/readline.cpython-39-x86_64-linux-gnu.so
30 ldd: warning: you do not have execution permission for
31 `/opt/vmware/lib/vmware-installer/3.0.0/python/lib/lib-dynload/readline.cpython-39-x86_64-linux-gnu.so'
32 linux-vdso.so.1 (0x00007ffde924c000)
33 libreadline.so.6 => not found
34
35 It seems the new portage version does these checks now. Is there a way
36 to opt-out of those checks?