From owner-freebsd-hackers Thu Apr 25 11: 1:17 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 DB10B37B41B for ; Thu, 25 Apr 2002 11:01:05 -0700 (PDT) Received: (qmail 72869 invoked by uid 100); 25 Apr 2002 18:01:05 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15560.17504.878501.315464@guru.mired.org> Date: Thu, 25 Apr 2002 13:01:04 -0500 To: Miguel Mendez Cc: Edwin Groothuis , freebsd-hackers@freebsd.org Subject: Re: missing libraries, and how to find them. In-Reply-To: <20020425195116.A80026@energyhq.homeip.net> References: <20020425210202.A49377@k7.mavetju.org> <20020425140244.A77165@energyhq.homeip.net> <15560.15502.213147.169455@guru.mired.org> <20020425195116.A80026@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 <20020425195116.A80026@energyhq.homeip.net>, Miguel Mendez typed: > On Thu, Apr 25, 2002 at 12:27:42PM -0500, Mike Meyer wrote: > > Hi, > > > As I stated just a minute ago, my version of that was committed a > > while ago, and will hopefully be MFC's soon. > > Good, I didn't know someone else had already submitted a patch before. > > > 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. > > Well, not exactly. When you link program a with lib b, and lib b depends > on lib c, ldd a shows both libs, so my script works as it will ldd all > libs: Yes, but when lib c depends on lib d, your script won't pick it up. The patches to ldd will. They will recurse on down forever. 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