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
signature.asc
Description: OpenPGP digital signature