From owner-freebsd-stable@FreeBSD.ORG Mon Apr 5 18:35:20 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD2C6106566C for ; Mon, 5 Apr 2010 18:35:20 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from amailer.gwdg.de (amailer.gwdg.de [134.76.10.18]) by mx1.freebsd.org (Postfix) with ESMTP id 8DDFE8FC0A for ; Mon, 5 Apr 2010 18:35:20 +0000 (UTC) Received: from p578b68b8.dip0.t-ipconnect.de ([87.139.104.184] helo=krabat.raven.hur) by mailer.gwdg.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Nyr8o-0007m5-Ve for freebsd-stable@freebsd.org; Mon, 05 Apr 2010 20:35:19 +0200 Message-ID: <4BBA2D66.5060702@gwdg.de> Date: Mon, 05 Apr 2010 20:35:18 +0200 From: Rainer Hurling User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; de-DE; rv:1.9.1.9) Gecko/20100405 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated: Id:rhurlin X-Spam-Level: - X-Virus-Scanned: (clean) by exiscan+sophie Subject: ldd manpage - example does not work X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Apr 2010 18:35:20 -0000 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