Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Apr 2010 20:35:18 +0200
From:      Rainer Hurling <rhurlin@gwdg.de>
To:        freebsd-stable@freebsd.org
Subject:   ldd manpage - example does not work
Message-ID:  <4BBA2D66.5060702@gwdg.de>

next in thread | raw e-mail | index | archive | help
The manpage for ldd(1) gives a nice example of finding binaries, which 
link against a given library, see

http://www.freebsd.org/cgi/man.cgi?query=ldd&apropos=0&sektion=0&manpath=FreeBSD+8.0-RELEASE&format=html


The example looks as follows:

find . -type f | xargs -n1 file -F | grep ELF | cut -f1 -d' ' | xargs 
ldd -f '%A %o\n' | grep libc.so.6


Unfortunately this example does not work for me. Is seems that the part 
with xargs does not output anything and so is the showstopper (?)

It would be nice if someone could give me some advice what is wrong here.

Thanks in advance,
Rainer Hurling



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BBA2D66.5060702>