From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,ada516b9bd836ee9,start X-Google-Attributes: gid1164f8,public From: andrewg@no.spam.please.bsw.co.za (Andrew Gaylard) Subject: Digital Unix equivalents of ldd and truss? Date: 1999/10/21 Message-ID: <7un0n1$c9$1@news.is.co.za>#1/1 X-Deja-AN: 538816165 X-Complaints-To: abuse@is.co.za X-Trace: news.is.co.za 940508705 393 196.38.213.1 (21 Oct 1999 12:25:05 GMT) Organization: An Internet Solution Customer NNTP-Posting-Date: 21 Oct 1999 12:25:05 GMT Newsgroups: comp.sys.dec Hi All, The subject line says it all. Solaris has ldd, pldd, and truss. Linux has ldd and strace. Irix has par. All I want to do is check the dynamic dependencies for a binary. No, I don't have the source; these are binaries from third-party vendors. And I want to watch the execution of system calls (DU's strace(1) does something else, it seems). I've seen that odump can help: {andrewg}~ : odump -Dl /opt/netscape/netscape ***LIBRARY LIST SECTION*** Name Time-Stamp CheckSum Flags Version /opt/netscape/netscape: libXm.so Dec 9 09:23:20 1997 0xa55f6d32 0 motif1.2 libXmu.so Dec 9 08:13:36 1997 0x3bf3a33d 0 libXt.so Dec 9 08:12:18 1997 0x10dd9a17 0 libX11.so Dec 9 07:49:39 1997 0xeb5251bf 0 libXext.so Dec 9 08:08:51 1997 0xafcb84d5 0 libdnet_stub.so Dec 30 01:16:25 1997 0x9408a36b 0 osf.1 libm.so Dec 30 01:09:53 1997 0xf29b0962 0 osf.1 libots.so Dec 30 01:13:40 1997 0x0876eb23 0 libc.so Dec 30 01:09:30 1997 0x5e955f9b 0 osf.1 libcxx.so Dec 30 01:13:41 1997 0x1da51211 0 V4.0.1 libexc.so Dec 30 01:09:57 1997 0x3184247e 0 osf.1 Is there anything which will show the exact locations of these libraries, a la ldd? Is there a tool which can show which libraries a running process is using a la Sun's pldd, so I don't have to stop it and restart it? Thanks for any help. -- -- Andrew Gaylard andrewg @ bsw . co . za