Gentoo Archives: gentoo-user

From: "Arttu V." <arttuv69@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] dependencies - one more mystery novel
Date: Thu, 21 Jan 2010 16:32:13
Message-Id: fecdbac61001210831x5c2f9545l2fb6e4ef8a1abf56@mail.gmail.com
In Reply to: [gentoo-user] dependencies - one more mystery novel by Helmut Jarausch
1 On 1/21/10, Helmut Jarausch <jarausch@××××××××××××××××.de> wrote:
2 > Upgrading to media-libs/jpeg-8
3 > poses a new level of difficulty (to me).
4 >
5 > I cannot use emerge @preserved-rebuild since I still
6 > have kde-3 packages and still have problems with the
7 > kde-sunset overlay which I have to resolve lateron.
8 >
9 > Now, I try to find out which packages depend on jpeg-7.
10 > First idea
11 > revdep-rebuild -p -L /usr/lib64/libjpeg.so.7
12 >
13 > but this also finds packages which depend on
14 > /usr/lib64/libjpeg.so.7 AND /usr/lib64/libjpeg.so.8
15 > probably because they depend on /usr/lib64/libjpeg.so.7
16 > only indirectly.
17 >
18 > But how to find out these intermediate libraries which depend
19 > on /usr/lib64/libjpeg.so.7 directly?
20
21 I don't know why you wouldn't want to fix the kde3 overlay part ASAP,
22 but here is a guesswork, which might dig you something useful:
23
24 ls /usr/lib64/*.so | xargs -r scanelf -BF%n | grep 'libjpeg\.so\.7' |
25 awk '{ print $2 }' | xargs -r qfile -qC | uniq
26
27 It doesn't understand, e.g., slots, nor is really optimized. For such,
28 we'd need a separate program, which we'd call ... umm, lemme think ...
29 is reverse-dependency-rebuilder good? ;)
30
31 --
32 Arttu V.

Replies

Subject Author
Re: [gentoo-user] dependencies - one more mystery novel Helmut Jarausch <jarausch@××××××××××××××××.de>