[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
Title: | Alpha Developer Support |
Notice: | [email protected], 800-332-4786 |
Moderator: | HYDRA::SYSTEM |
|
Created: | Mon Jun 06 1994 |
Last Modified: | Fri Jun 06 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 3722 |
Total number of notes: | 11359 |
3385.0. "" by HYDRA::AXPDEVELOPER (Alpha Developer support) Fri Mar 21 1997 13:41
Company Name : Altair
Contact Name : David Scarchilli
Phone :
Fax :
Email : [email protected]
Date/Time in : 21-MAR-1997 15:06:01
Entered by : Gerrit Saylor
SPE center : MRO
Category : UNIX
OS Version :
System H/W :
Brief Description of Problem:
-----------------------------
P.S. Here's what I got this morning from the generic account...
From: HYDRA::AXPDEVELOPER "[email protected]" 21-MAR-1997 01:42:53.69
To: AMCUCS::SWIERKOWSKI
CC: AXPDEVELOPER
Subj: Re: regarding your question
From: US6RMC::"[email protected]" "David Scarchilli" 20-MAR-1997 18:17:11.58
To: "[email protected]" <hydra::axpdeveloper>
CC:
Subj: Re: regarding your question
>
>
>As to your question regarding a command to list the shared libraries used
>by an executable: the command nm does a name list dump of object files.
>Performing a grep on the output of the command nm -A would give you the
>answers you are seeking. A man nm will give you more information on the
>command.
>
>
The manpage for nm says:
-A Prints the full pathname or library name of an object on each line.
This is useful for using the grep command to check through nm listings
of libraries.
When I tried 'nm -A <file>' it puts <file> on each line of output,
but does not show any shared libs. Also, nm on a stripped object
reports an error, but I should be able to get shared lib info on
a stripped file. Any other ideas on how to get a list of shared libs ?
Thanks,
Dave
[email protected]
ASAP Customer code: 905047.
T.R | Title | User | Personal Name | Date | Lines |
---|
3385.1 | | HYDRA::AXPDEVELOPER | Alpha Developer support | Fri Mar 21 1997 14:27 | 28 |
| The quickest way to get a list of shared libraries needed by an executable
is to use the command "odump -Dl"
For example:
fluid.mro.dec.com> which xterm
/usr/bin/X11/xterm
fluid.mro.dec.com> odump -Dl /usr/bin/X11/xterm
***LIBRARY LIST SECTION***
Name Time-Stamp CheckSum Flags Version
/usr/bin/X11/xterm:
libXaw.so Feb 2 20:42:39 1997 0x285006d0 0 6.0
libXmu.so Feb 2 20:39:38 1997 0x3bf3a33d 0
libXt.so Feb 2 20:37:41 1997 0x10dd9a17 0
libSM.so Feb 2 20:31:35 1997 0xb64c7082 0
libICE.so Feb 2 20:31:14 1997 0x1199be32 0
libXext.so Feb 2 20:32:29 1997 0xafcb84d5 0
libX11.so Feb 2 20:29:48 1997 0x3456049e 0
libc.so Feb 2 18:47:06 1997 0xe1df5327 0 osf.1
fluid.mro.dec.com>
Gerrit Saylor
Alpha Developer Support
|