From owner-freebsd-hackers Thu Apr 25 4:57:19 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from www.example.org (dhcp-nic-val-26-90.cisco.com [64.103.26.90]) by hub.freebsd.org (Postfix) with SMTP id 1346337B426 for ; Thu, 25 Apr 2002 04:57:09 -0700 (PDT) Received: (qmail 49789 invoked by uid 1000); 25 Apr 2002 11:57:06 -0000 Message-ID: <20020425115706.49788.qmail@cobweb.example.org> Date: Thu, 25 Apr 2002 13:57:06 +0200 From: Marco Molteni To: freebsd-hackers@freebsd.org Subject: Re: missing libraries, and how to find them. In-Reply-To: <20020425210202.A49377@k7.mavetju.org> References: <20020425210202.A49377@k7.mavetju.org> X-Mailer: Sylpheed version 0.7.4 (GTK+ 1.2.10; i386-portbld-freebsd4.5) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 On Thu, 25 Apr 2002 21:02:02 +1000, Edwin Groothuis wrote: [..] > them... At the end, it was gtkhtml which was holding the old > libfreetype.so.6, but it had cost me the whole evening to find out. > > Why didn't ldd tell me which lib it was which was failing? > With this idea in mind I've submitted PR bin/37448: [PATCH] ldd/rtld > support for more information of linked libraries. It patches ldd.c > and rtld.c to understand the -s option (that parameter is also used > under Solaris I've been told). With this option it does display the > name of the program/library ldd is displayed (so not only the first > occurance) and the libs being looked for: [..] I ran in similar problems more than once. I *love* this patch! Marco To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message