Date: Wed, 9 May 2001 15:17:18 +0200 From: Stijn Hoop <stijn@win.tue.nl> To: questions@freebsd.org Subject: shared library question Message-ID: <20010509151718.A56524@pcwin002.win.tue.nl>
index | next in thread | raw e-mail
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] </usr/X11R6/lib/mozilla> 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] </usr/X11R6/lib/mozilla> 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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010509151718.A56524>
