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