From owner-freebsd-questions Wed May 9 8:12: 0 2001 Delivered-To: freebsd-questions@freebsd.org Received: from probity.mcc.ac.uk (probity.mcc.ac.uk [130.88.200.94]) by hub.freebsd.org (Postfix) with ESMTP id 79EA637B423 for ; Wed, 9 May 2001 08:11:57 -0700 (PDT) (envelope-from rasputin@freebsd-uk.eu.org) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97] ident=root) by probity.mcc.ac.uk with esmtp (Exim 2.05 #4) id 14xVd5-000L31-00; Wed, 9 May 2001 16:11:55 +0100 Received: (from rasputin@localhost) by dogma.freebsd-uk.eu.org (8.11.1/8.11.1) id f49FBrE56291; Wed, 9 May 2001 16:11:53 +0100 (BST) (envelope-from rasputin) Date: Wed, 9 May 2001 16:11:53 +0100 From: Rasputin To: Stijn Hoop Cc: questions@freebsd.org Subject: Re: shared library question Message-ID: <20010509161152.B56065@dogma.freebsd-uk.eu.org> Reply-To: Rasputin References: <20010509151718.A56524@pcwin002.win.tue.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20010509151718.A56524@pcwin002.win.tue.nl>; from stijn@win.tue.nl on Wed, May 09, 2001 at 03:17:18PM +0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Stijn Hoop [010509 14:19]: > Hi, > > I can't seem to find out how to turn up the dependencies of a shared > library. ldd only seems to work with executables: > I think they're included in that lot : ------------------------------------------- ldd [-v] [-f format] program ... DESCRIPTION ldd displays all shared objects that are needed to run the given program. Contrary to nm(1), the list includes ``indirect'' dependencies that are the result of needed shared objects which themselves depend on yet other shared objects. ------------------------------------------- > [stijn@pcwin002] env LD_LIBRARY_PATH=. ldd mozilla-bin > mozilla-bin: > libgkgfx.so => ./libgkgfx.so (0x28073000) > libxpcom.so => ./libxpcom.so (0x280a9000) > libmozjs.so => ./libmozjs.so (0x2816b000) > libjsj.so => ./libjsj.so (0x281d4000) > libplds4.so => ./libplds4.so (0x281ee000) > libplc4.so => ./libplc4.so (0x281f1000) > libnspr4.so => ./libnspr4.so (0x281f6000) > libstdc++.so.3 => /usr/lib/libstdc++.so.3 (0x2822d000) > libm.so.2 => /usr/lib/libm.so.2 (0x28274000) > libc_r.so.4 => /usr/lib/libc_r.so.4 (0x28290000) > However, I know mozilla depends on GTK+. So it would seem one of the > listed libraries depends on that. But I can't find out how I can > access that information: Hmm, yeah, that *is* odd. I uninstalled it this morning, so can't check mine, sorry. -- Beware of low-flying butterflies. Rasputin :: Jack of All Trades - Master of Nuns :: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message