From: Andrew Hobson <ahobson@eng.mindspring.net>
Subject: Re: Tru64 UNIX equivalent of ldconfig?
Date: 1999/07/23 [thread overview]
Message-ID: <kjlnc7a349.fsf@gamma.eng.mindspring.net> (raw)
In-Reply-To: 379791b7.0@nnrp1.news.uk.psi.net
On Thu, 22 Jul 1999 22:51:37 +0100, "Jon Hitchcock" <Jon.Hitchcock@uniplex.co.uk> said:
> Ryurick M. Hristev <physrmh@phys.canterbury.ac.nz> wrote in message
> news:qv6btd4jv9b.fsf@physp43.phys.canterbury.ac.nz...
>> ...
>> Maybe he wanted to talk about an ldd equivalent ?
>> (which BTW I couldn't find)
>> ...
> In Digital Unix, the odump command has options for reporting on shared
> libraries. To find out which libraries are required to run a binary, use
> odump -Dl filename
> (that is hyphen uppercase-D lowercase-L).
One thing I haven't figured out how to do is get the path to the
library that the binary is using. With LD_LIBRARY_PATH, cc -rpath,
and multiple versions of the library lying around, I'd really, really
like a way to figure that out.
On Tru64 4.0F:
$ odump -Dl /usr/bin/X11/xterm
***LIBRARY LIST SECTION***
Name Time-Stamp CheckSum Flags Version
/usr/bin/X11/xterm:
libXaw.so Apr 2 01:59:38 1999 0xf381d6a0 0 6.0
libXmu.so Apr 2 01:58:34 1999 0x3bf3a33d 0
libXt.so Apr 2 01:57:54 1999 0x10dd9a17 0
libSM.so Apr 2 01:55:43 1999 0xb64c7082 0
libICE.so Apr 2 01:55:34 1999 0x1199be32 0
libXext.so Apr 2 01:56:03 1999 0xafcb84d5 0
libX11.so Apr 2 01:54:59 1999 0xb7349a7f 0
libc.so Apr 1 21:31:08 1999 0x59eef91c 0 osf.1
On Solaris 2.6:
$ ldd /usr/openwin/bin/xterm
libXaw.so.5 => /usr/openwin/lib/libXaw.so.5
libXmu.so.4 => /usr/openwin/lib/libXmu.so.4
libm.so.1 => /usr/lib/libm.so.1
libXt.so.4 => /usr/openwin/lib/libXt.so.4
libSM.so.6 => /usr/openwin/lib/libSM.so.6
libICE.so.6 => /usr/openwin/lib/libICE.so.6
libXext.so.0 => /usr/openwin/lib/libXext.so.0
libX11.so.4 => /usr/openwin/lib/libX11.so.4
libsocket.so.1 => /usr/lib/libsocket.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libc.so.1 => /usr/lib/libc.so.1
libdl.so.1 => /usr/lib/libdl.so.1
libmp.so.2 => /usr/lib/libmp.so.2
Drew
--
"Joe, release me from your Kung-Fu grip." -- Stacy Lavelle
next prev parent reply other threads:[~1999-07-23 4:00 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-07-11 4:00 Tru64 UNIX equivalent of ldconfig? Tom Kacvinsky
1999-07-22 4:00 ` Craig Neth
1999-07-23 4:00 ` Steven Winikoff
1999-07-26 4:00 ` Peter Mayne
1999-07-27 4:00 ` Steven Winikoff
1999-07-23 4:00 ` Ryurick M. Hristev
1999-07-22 4:00 ` Jon Hitchcock
1999-07-23 4:00 ` Andrew Hobson [this message]
1999-07-27 4:00 ` Greg P Tomaschke
1999-07-23 4:00 ` Peter Mayne
1999-07-23 4:00 ` Ryurick M. Hristev
1999-07-23 4:00 ` lar3ry gensch
1999-07-26 4:00 ` Ryurick M. Hristev
1999-07-26 4:00 ` Craig Neth
1999-07-26 4:00 ` Peter da Silva
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox