From owner-freebsd-hackers Thu Apr 25 10:31: 1 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mired.org (dsl-64-192-6-133.telocity.com [64.192.6.133]) by hub.freebsd.org (Postfix) with SMTP id 9037737B448 for ; Thu, 25 Apr 2002 10:27:44 -0700 (PDT) Received: (qmail 72424 invoked by uid 100); 25 Apr 2002 17:27:42 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15560.15502.213147.169455@guru.mired.org> Date: Thu, 25 Apr 2002 12:27:42 -0500 To: Miguel Mendez Cc: Edwin Groothuis , freebsd-hackers@freebsd.org Subject: Re: missing libraries, and how to find them. In-Reply-To: <20020425140244.A77165@energyhq.homeip.net> References: <20020425210202.A49377@k7.mavetju.org> <20020425140244.A77165@energyhq.homeip.net> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: Mike Meyer X-Delivery-Agent: TMDA/0.52 (Python 2.2 on FreeBSD/i386) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In <20020425140244.A77165@energyhq.homeip.net>, Miguel Mendez typed: > For what is worth, that can be easily replicated with a simple shell > script: > > kajsa% for i in `ldd /usr/X11R6/bin/xmms|grep -v :|awk '{ print $3}'`; > do ldd $i;done > /usr/lib/libc_r.so.5: > /usr/X11R6/lib/libSM.so.6: > libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x28129000) > /usr/X11R6/lib/libICE.so.6: > /usr/X11R6/lib/libxmms.so.3: > libgtk12.so.2 => /usr/X11R6/lib/libgtk12.so.2 (0x2812b000) > libgdk12.so.2 => /usr/X11R6/lib/libgdk12.so.2 (0x2825a000) > [...] > Anyway, a nice patch I hope will be commited soon. As I stated just a minute ago, my version of that was committed a while ago, and will hopefully be MFC's soon. But your script doesn't do the same thing. It only tells you what libraries the libraries your command includes. It doesn't go to the third third - or further - levels if required. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message