From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,6014cbf1d77efd04 X-Google-Attributes: gidfee84,public From: Eric Dumazet Subject: Re: Which libraries are linked in? Date: 1998/06/09 Message-ID: <357D71C6.2622E88@COSMOSBAY.COM>#1/1 X-Deja-AN: 361085385 Cache-Post-Path: si1-paris!unknown@10.65.0.254 Content-Transfer-Encoding: 7bit References: <357D167C.4FAC4EE6@citicorp.com> Content-Type: text/plain; charset=us-ascii Organization: Ye 'Ol Disorganized NNTPCache groupie Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 Hi Asgar, There is no easy way to do that. I use 2 methods : 1) odump $ odump -Dl /path_to_exe This one gives the names of the .so, not the real path used by the loader at exec time. But it works even if a .so is not found. 2) Traces on /sbin/loader $ _RLD_ARGS=-v /path_to_exe With this your LD_LIBRARY_PATH is taken into account. But the program is started. You must know how to ask nothing to the program. You could do : man loader to learn more options on /sbin/loader Eric Dumazet Asgar Ali wrote: > > On DEC Unix V4, does anyone know the command that will display a list of > libraries that an executable would use. > ie command produces > /usr/lib/xxx > /usr/lib/xx > /usr/directory/libalib.so etc.