From owner-freebsd-questions Wed May 9 6:17:47 2001 Delivered-To: freebsd-questions@freebsd.org Received: from pcwin002.win.tue.nl (pcwin002.win.tue.nl [131.155.71.72]) by hub.freebsd.org (Postfix) with ESMTP id 54B1437B423 for ; Wed, 9 May 2001 06:17:44 -0700 (PDT) (envelope-from stijn@pcwin002.win.tue.nl) Received: (from stijn@localhost) by pcwin002.win.tue.nl (8.11.3/8.11.3) id f49DHIc59416 for questions@freebsd.org; Wed, 9 May 2001 15:17:18 +0200 (CEST) (envelope-from stijn) Date: Wed, 9 May 2001 15:17:18 +0200 From: Stijn Hoop To: questions@freebsd.org Subject: shared library question Message-ID: <20010509151718.A56524@pcwin002.win.tue.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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: [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: [stijn@pcwin002] env LD_LIBRARY_PATH=. ldd libgkgfx.so libgkgfx.so: ldd: libgkgfx.so: Exec format error libgkgfx.so: exit status 1 (which is the command on Solaris). Which command am I looking for? --Stijn -- I wish there was a knob on the TV to turn up the intelligence. There's a knob called `brightness', but it doesn't work." -- Gallagher To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message