Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 May 2001 16:11:53 +0100
From:      Rasputin <rara.rasputin@virgin.net>
To:        Stijn Hoop <stijn@win.tue.nl>
Cc:        questions@freebsd.org
Subject:   Re: shared library question
Message-ID:  <20010509161152.B56065@dogma.freebsd-uk.eu.org>
In-Reply-To: <20010509151718.A56524@pcwin002.win.tue.nl>; from stijn@win.tue.nl on Wed, May 09, 2001 at 03:17:18PM %2B0200
References:  <20010509151718.A56524@pcwin002.win.tue.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
* Stijn Hoop <stijn@win.tue.nl> [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] </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:

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010509161152.B56065>