pkgsrc tips (Was Re: Proper choice of package management strategy)

Dan Nicholson dbn.lists at gmail.com
Sun Jan 21 09:10:25 PST 2007


On 1/21/07, Amadeus <amadeus.stevenson at gmail.com> wrote:
>
> $ ldd `which bash` | sed -e 's/([^ ]*)//' -e 's/ //g' | awk -F=\>
> '$2!="" {print $2}'
> /lib/libtermcap.so.2
> /lib/libdl.so.2
> /lib/libc.so.6

This works too:

[ 9:08 AM dan at conor] ldd /bin/bash | awk '/=> \//{print $3}'
/lib/libreadline.so.5
/lib/libhistory.so.5
/lib/libncursesw.so.5
/lib/libdl.so.2
/lib/libc.so.6

--
Dan



More information about the lfs-support mailing list