Gentoo Archives: gentoo-user

From: Florian Philipp <lists@×××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] LVM dependencies?
Date: Sat, 14 Apr 2012 19:08:24
Message-Id: 4F89CAB9.10004@binarywings.net
In Reply to: Re: [gentoo-user] LVM dependencies? by Alan McKinnon
1 Am 14.04.2012 18:34, schrieb Alan McKinnon:
2 > On Sat, 14 Apr 2012 23:10:30 +0700
3 > Pandu Poluan <pandu@××××××.info> wrote:
4 >
5 >>> Or direct dynamically linked libraries?
6 >>> equery files -f obj sys-fs/lvm2 | xargs ldd 2>/dev/null
7 >>>
8 >>> Or kernel features?
9 >>>
10 >>
11 >> The libraries, actually. Sadly I currently don't have access to a
12 >> Gentoo box, so I would really appreciate it if I can get the output
13 >> of the ldd.
14 >
15 >
16 > Here you go. I blindly ran ldd on anything that looked binary or executable but not a symlink (so there's several false positives):
17 >
18 > alanm@khamul ~ $ ldd /sbin/lvm
19 > linux-vdso.so.1 => (0x00007fffca444000)
20 > libudev.so.0 => /usr/lib64/libudev.so.0 (0x00007ff92e7a3000)
21 > libdl.so.2 => /lib64/libdl.so.2 (0x00007ff92e59f000)
22 > libdevmapper-event.so.1.02 => /lib64/libdevmapper-event.so.1.02 (0x00007ff92e399000)
23 > libdevmapper.so.1.02 => /lib64/libdevmapper.so.1.02 (0x00007ff92e160000)
24 > libreadline.so.6 => /lib64/libreadline.so.6 (0x00007ff92df19000)
25 > libc.so.6 => /lib64/libc.so.6 (0x00007ff92db6d000)
26 > librt.so.1 => /lib64/librt.so.1 (0x00007ff92d964000)
27 > /lib64/ld-linux-x86-64.so.2 (0x00007ff92e9b1000)
28 > libncurses.so.5 => /lib64/libncurses.so.5 (0x00007ff92d70f000)
29 > libpthread.so.0 => /lib64/libpthread.so.0 (0x00007ff92d4f1000)
30 [...]
31
32 As I was slightly bored and thought it might help, I took the liberty to
33 clean that up a bit:
34 equery files -f obj sys-fs/lvm2 | xargs ldd 2>/dev/null |
35 grep -E -o '=> [^ ]+' | cut -d ' ' -f 2 | sort -u
36 /lib64/libc.so.6
37 /lib64/libdevmapper-event-lvm2.so.2.02
38 /lib64/libdevmapper-event.so.1.02
39 /lib64/libdevmapper.so.1.02
40 /lib64/libdl.so.2
41 /lib64/liblvm2cmd.so.2.02
42 /lib64/libncurses.so.5
43 /lib64/libpthread.so.0
44 /lib64/libreadline.so.6
45 /lib64/librt.so.1
46 /lib64/libudev.so.0
47
48 Hope this helps,
49 Florian Philipp

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] LVM dependencies? Pandu Poluan <pandu@××××××.info>