Gentoo Archives: gentoo-user

From: Wolfgang Illmeyer <wolfgang.illmeyer@×××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] which package provides a given library?
Date: Fri, 22 Sep 2006 10:15:40
Message-Id: 200609221204.49985.wolfgang.illmeyer@gmx.net
In Reply to: [gentoo-user] which package provides a given library? by Helmut Jarausch
1 Am Freitag, 22. September 2006 11:23 schrieb Helmut Jarausch:
2 > Hi,
3 >
4 > I'd like to write my own .ebuild file.
5 > I know which libaries are needed by the new package
6 > but how can I find out which package provides a
7 > given library?
8 >
9 > e.g.
10 >
11 > libXext (probably virtual/x11)
12 >
13 > I've tried
14 > equery belongs Xext
15 >
16
17 You need to specify the full filename with path (iirc).
18
19 $ equery belongs /usr/lib/libXext.so
20
21 [ Searching for file(s) /usr/lib/libXext.so in *... ]
22 x11-libs/libXext-1.0.1 (/usr/lib/libXext.so -> libXext.so.6.4.0)
23
24 /Wolfgang
25 --
26 gentoo-user@g.o mailing list