On Sun, 15 Apr 2012 06:38:18 +0700 Pandu Poluan <pa...@poluan.info> wrote:
> On Apr 15, 2012 2:10 AM, "Florian Philipp" <li...@binarywings.net> > wrote: > > > > Am 14.04.2012 18:34, schrieb Alan McKinnon: > > > On Sat, 14 Apr 2012 23:10:30 +0700 > > > Pandu Poluan <pa...@poluan.info> wrote: > > > > > >>> Or direct dynamically linked libraries? > > >>> equery files -f obj sys-fs/lvm2 | xargs ldd 2>/dev/null > > >>> > > >>> Or kernel features? > > >>> > > >> > > >> The libraries, actually. Sadly I currently don't have access to a > > >> Gentoo box, so I would really appreciate it if I can get the > > >> output of the ldd. > > > > > > > > > Here you go. I blindly ran ldd on anything that looked binary or > executable but not a symlink (so there's several false positives): > > > > > > alanm@khamul ~ $ ldd /sbin/lvm > > > linux-vdso.so.1 => (0x00007fffca444000) > > > libudev.so.0 => /usr/lib64/libudev.so.0 > > > (0x00007ff92e7a3000) libdl.so.2 => /lib64/libdl.so.2 > > > (0x00007ff92e59f000) libdevmapper-event.so.1.02 > > > => /lib64/libdevmapper-event.so.1.02 > (0x00007ff92e399000) > > > libdevmapper.so.1.02 => /lib64/libdevmapper.so.1.02 > (0x00007ff92e160000) > > > libreadline.so.6 => /lib64/libreadline.so.6 > > > (0x00007ff92df19000) libc.so.6 => /lib64/libc.so.6 > > > (0x00007ff92db6d000) librt.so.1 => /lib64/librt.so.1 > > > (0x00007ff92d964000) /lib64/ld-linux-x86-64.so.2 > > > (0x00007ff92e9b1000) libncurses.so.5 => /lib64/libncurses.so.5 > > > (0x00007ff92d70f000) libpthread.so.0 => /lib64/libpthread.so.0 > > > (0x00007ff92d4f1000) > > [...] > > > > As I was slightly bored and thought it might help, I took the > > liberty to clean that up a bit: > > equery files -f obj sys-fs/lvm2 | xargs ldd 2>/dev/null | > > grep -E -o '=> [^ ]+' | cut -d ' ' -f 2 | sort -u > > /lib64/libc.so.6 > > /lib64/libdevmapper-event-lvm2.so.2.02 > > /lib64/libdevmapper-event.so.1.02 > > /lib64/libdevmapper.so.1.02 > > /lib64/libdl.so.2 > > /lib64/liblvm2cmd.so.2.02 > > /lib64/libncurses.so.5 > > /lib64/libpthread.so.0 > > /lib64/libreadline.so.6 > > /lib64/librt.so.1 > > /lib64/libudev.so.0 > > > > Hope this helps, > > Florian Philipp > > > > Kewl! Based on the names, I assume they're the actual files (i.e. > symlinks already dereferenced)? The reference to symlinks is not related to the libs. It's the names of several executables installed by lvm2 which are symlinks to /sbin/lvm. I was too lazy to remove them from the output. Pandu was less lazy. -- Alan McKinnnon alan.mckin...@gmail.com