[Prev][Next][Index][Thread]
Re: Initial SUMMARY OSF/1 Version 2.0 report and question
-
To: alpha-osf-managers@xxxxxxx
-
Subject: Re: Initial SUMMARY OSF/1 Version 2.0 report and question
-
From: jt@xxxxxxx (JT McDuffie)
-
Date: Mon, 4 Apr 1994 11:00:55 -0800 (PDT)
-
Organization: Kubota Pacific Computer Inc., Santa Clara, CA
-
Phone: (408) 987-5801
-
Reply-To: jt@xxxxxxx (James T. McDuffie)
Sheila Hollenbaugh writes:
|
|
| As usual the list comes through. To see what shared libraries are used
| by a file, simply
|
| odump -Dl file
|
| (Now the work begins!!)
|
| Thanks to all who replied!
|
| --Sheila
| ------------------------
| Sheila Hollenbaugh Sr. Computer Systems Engineer
| Wright State University College of Engineering & Computer Science
| Dayton, OH 45435 Voice: (513) 873-5077 FAX: (513) 873-5009
| shollen@xxxxxxxxxxxxx or shollen@xxxxxxxxxxxxxxxxxxxxxx
This got thown around the office a bit (I thouht it interesting
information) and the following information was broadcast internally. I
thought if of such general interest that I am forwarding it on to this
list:
Mike O'Conner wrote:
|
| Then Jeff Thomas wrote:
| > This is only half useful. odump will tell you which shared libraries
| > are directly referenced by an executable, but it doesn't tell you
| > which, if any, are referenced by those shared libraries. In other
| > words, there may be several layers of dependencies; odump only gives
| > you the first layer.
|
| You can use dbx, too. Use 'dbx executeable_name' then at the dbx prompt
| use 'listobj' and it will tell you specifically which shared libs were loaded.
|
| Mike
An example of this is the "xv" utility distributed via the Freeware CD.
Using "odump -Dl vx" you get:
***LIBRARY LIST SECTION***
Name Time-Stamp CheckSum Flags Version
xv:
libXext.so Feb 4 23:10:08 1993 0x67dc0626 NONE
libX11.so Feb 4 23:05:53 1993 0x7ddb5498 NONE
libm.so Feb 4 15:29:46 1993 0x254d7617 NONE osf.1
libc.so Feb 24 10:04:26 1993 0x545dfc37 NONE osf.1
Using "dbx" and the "listobj" command you get:
dbx version 3.11.4
Type 'help' for help.
main: Source not available
(dbx) listobj
xv addr: 0x120000000 size: 0xba000
/usr/shlib/libXext.so addr: 0x3ff80800000 size: 0xe000
/usr/shlib/libX11.so addr: 0x3ff81000000 size: 0x8a000
/usr/shlib/libm.so addr: 0x3ff80810000 size: 0x40000
/usr/shlib/libc.so addr: 0x3ff81800000 size: 0xbc000
/usr/shlib/libdnet_stub.so addr: 0x3ff80940000 size: 0x4000
(dbx) quit
Note that the "libdnet_stub.so" does not show from odump.
Enjoy,
JT
--
James T. McDuffie, Manager - Release Engineering & Software QA
Kubota Pacific Computer, Inc. (408) 987-5801 jt@xxxxxxx
--
James T. McDuffie, Manager - Release Engineering & Software QA
Kubota Pacific Computer, Inc. (408) 987-5801 jt@xxxxxxx