From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,3d89dee82ae807d8 X-Google-Attributes: gidfee84,public From: Joe Mario Subject: Re: Listing symbol dependencies on shared libraries Date: 2000/01/18 Message-ID: <3884F23F.F34FB237@zk3.dec.com>#1/1 X-Deja-AN: 574451884 Content-Transfer-Encoding: 7bit References: <3883B163.32DC@netcomuk.co.uk> To: john hall X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: iass@lead.zk3.dec.com X-Trace: lead.zk3.dec.com 948236891 16262 16.141.0.18 (18 Jan 2000 23:08:11 GMT) Organization: UBPG Mime-Version: 1.0 NNTP-Posting-Date: 18 Jan 2000 23:08:11 GMT Newsgroups: comp.unix.osf.osf1 john hall wrote: > Is there a way that I can list all the symbols in shared libraries that > are linked to from an OSF/DU executable? > The "odump -Dt" command will dump the table of external symbols in a shared object, where a shared object is either a shared library or a -call_shared linked executable. You'll need to run the odump command on each library that the application links with to get all the symbols for all libraries. As of the V5.0 release, you can use the "ldd" command to list the dynamic library dependencies of an application. Prior to V5.0, to get the dependencies, you'll need to use "odump -Dl" on the application and all of its dependencies. Joe Mario Compaq Tru64 UNIX Development Environment