Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Thomas Unger <unger@informatik.uni-siegen.de>
Subject: Re: Which libraries are linked in?
Date: 1998/06/12	[thread overview]
Message-ID: <35811272.0@rainbow.hrz.uni-siegen.de> (raw)
In-Reply-To: 357D167C.4FAC4EE6@citicorp.com


Asgar Ali <asgar.ali@citicorp.com> wrote:
: On DEC Unix V4, does anyone know the command that will display a list of
: libraries that an executable would use. 
: ie command <exec name>   produces
: /usr/lib/xxx
: /usr/lib/xx
: /usr/directory/libalib.so  etc.

You can use 'ldd' to do this and more:
(ldd is available at 'http://www.informatik.uni-siegen.de/~unger/ldd'
 and requires ebash and gdb to be installed)




tcsh> ldd -a /usr/local/bin/ALPHA/cp

using </usr/local/bin/ALPHA/cp>, an ALPHA executable
RPATH:     /usr/local/lib/ALPHA


                        ***LIBRARY LIST SECTION***
        Name             Time-Stamp        CheckSum   Flags Version
/usr/local/bin/ALPHA/cp:
        libintl.so   Nov 19 16:58:19 1996 0xac00b749     0 
        libfu.so     Nov 19 16:57:40 1996 0x2133d1f0     0 
        libgcc.so    Nov 19 15:47:29 1996 0x9494d91a     0 
        libc.so      May 20 04:18:46 1996 0xf937323b     0 osf.1
        libgcc.so    Nov 19 15:47:29 1996 0x9494d91a     0 

library locations:
        /usr/local/lib/ALPHA/libintl.so
        /usr/local/lib/ALPHA/libfu.so
        /usr/local/lib/ALPHA/libgcc.so
        /usr/shlib/libc.so

+/usr/local/bin/ALPHA/cp [  <NO DATE STRING> ; <NO VERSION INFO> ]
           +/usr/local/lib/ALPHA/libintl.so [  Tue Nov 19 16:58:19 1996 ; <NO VERSION INFO> ]
                      +/usr/shlib/libc.so [  Tue Dec 30 00:09:30 1997 ; osf.1 ]
           +/usr/local/lib/ALPHA/libfu.so [  Tue Nov 19 16:57:40 1996 ; <NO VERSION INFO> ]
                      +/usr/shlib/libc.so [  Tue Dec 30 00:09:30 1997 ; osf.1 ]
           +/usr/local/lib/ALPHA/libgcc.so [  Wed Jan 14 19:10:57 1998 ; <NO VERSION INFO> ]
           +/usr/shlib/libc.so [  Tue Dec 30 00:09:30 1997 ; osf.1 ]
           +/usr/local/lib/ALPHA/libgcc.so [  Wed Jan 14 19:10:57 1998 ; <NO VERSION INFO> ]


   Greetings,
	Thomas

-- 

/*******************************************************\
* Thomas Unger                                          *
* Informatik Universitaet GH Siegen                     *
* unger@informatik.uni-siegen.de                        *
* http://www.informatik.uni-siegen.de/~unger            *
\*******************************************************/



  parent reply	other threads:[~1998-06-12  4:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-06-09  4:00 Which libraries are linked in? Asgar Ali
1998-06-09  4:00 ` Thomas Riechen
1998-06-09  4:00 ` Eric Dumazet
1998-06-09  4:00 ` Jarkko Hietaniemi
1998-06-10  4:00 ` Asgar Ali
1998-06-10  4:00 ` D. Sean Davidson
1998-06-12  4:00 ` Thomas Unger [this message]
1998-06-19  4:00   ` Jeff Donsbach
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox