1 |
On Sun, 15 Apr 2012 06:38:18 +0700 |
2 |
Pandu Poluan <pandu@××××××.info> wrote: |
3 |
|
4 |
> On Apr 15, 2012 2:10 AM, "Florian Philipp" <lists@×××××××××××.net> |
5 |
> wrote: |
6 |
> > |
7 |
> > Am 14.04.2012 18:34, schrieb Alan McKinnon: |
8 |
> > > On Sat, 14 Apr 2012 23:10:30 +0700 |
9 |
> > > Pandu Poluan <pandu@××××××.info> wrote: |
10 |
> > > |
11 |
> > >>> Or direct dynamically linked libraries? |
12 |
> > >>> equery files -f obj sys-fs/lvm2 | xargs ldd 2>/dev/null |
13 |
> > >>> |
14 |
> > >>> Or kernel features? |
15 |
> > >>> |
16 |
> > >> |
17 |
> > >> The libraries, actually. Sadly I currently don't have access to a |
18 |
> > >> Gentoo box, so I would really appreciate it if I can get the |
19 |
> > >> output of the ldd. |
20 |
> > > |
21 |
> > > |
22 |
> > > Here you go. I blindly ran ldd on anything that looked binary or |
23 |
> executable but not a symlink (so there's several false positives): |
24 |
> > > |
25 |
> > > alanm@khamul ~ $ ldd /sbin/lvm |
26 |
> > > linux-vdso.so.1 => (0x00007fffca444000) |
27 |
> > > libudev.so.0 => /usr/lib64/libudev.so.0 |
28 |
> > > (0x00007ff92e7a3000) libdl.so.2 => /lib64/libdl.so.2 |
29 |
> > > (0x00007ff92e59f000) libdevmapper-event.so.1.02 |
30 |
> > > => /lib64/libdevmapper-event.so.1.02 |
31 |
> (0x00007ff92e399000) |
32 |
> > > libdevmapper.so.1.02 => /lib64/libdevmapper.so.1.02 |
33 |
> (0x00007ff92e160000) |
34 |
> > > libreadline.so.6 => /lib64/libreadline.so.6 |
35 |
> > > (0x00007ff92df19000) libc.so.6 => /lib64/libc.so.6 |
36 |
> > > (0x00007ff92db6d000) librt.so.1 => /lib64/librt.so.1 |
37 |
> > > (0x00007ff92d964000) /lib64/ld-linux-x86-64.so.2 |
38 |
> > > (0x00007ff92e9b1000) libncurses.so.5 => /lib64/libncurses.so.5 |
39 |
> > > (0x00007ff92d70f000) libpthread.so.0 => /lib64/libpthread.so.0 |
40 |
> > > (0x00007ff92d4f1000) |
41 |
> > [...] |
42 |
> > |
43 |
> > As I was slightly bored and thought it might help, I took the |
44 |
> > liberty to clean that up a bit: |
45 |
> > equery files -f obj sys-fs/lvm2 | xargs ldd 2>/dev/null | |
46 |
> > grep -E -o '=> [^ ]+' | cut -d ' ' -f 2 | sort -u |
47 |
> > /lib64/libc.so.6 |
48 |
> > /lib64/libdevmapper-event-lvm2.so.2.02 |
49 |
> > /lib64/libdevmapper-event.so.1.02 |
50 |
> > /lib64/libdevmapper.so.1.02 |
51 |
> > /lib64/libdl.so.2 |
52 |
> > /lib64/liblvm2cmd.so.2.02 |
53 |
> > /lib64/libncurses.so.5 |
54 |
> > /lib64/libpthread.so.0 |
55 |
> > /lib64/libreadline.so.6 |
56 |
> > /lib64/librt.so.1 |
57 |
> > /lib64/libudev.so.0 |
58 |
> > |
59 |
> > Hope this helps, |
60 |
> > Florian Philipp |
61 |
> > |
62 |
> |
63 |
> Kewl! Based on the names, I assume they're the actual files (i.e. |
64 |
> symlinks already dereferenced)? |
65 |
|
66 |
The reference to symlinks is not related to the libs. It's the names of |
67 |
several executables installed by lvm2 which are symlinks to /sbin/lvm. |
68 |
|
69 |
I was too lazy to remove them from the output. |
70 |
Pandu was less lazy. |
71 |
|
72 |
|
73 |
|
74 |
-- |
75 |
Alan McKinnnon |
76 |
alan.mckinnon@×××××.com |