Subject: Re: Library Versions
To: David Bryan Burgess <>
From: Chris G. Demetriou <cgd@postgres.Berkeley.EDU>
List: current-users
Date: 04/24/1994 19:45:50
> Do the executables know; as in could I (or someone that knows how to program)
> be able to write a program that would query the programs in question to find
> out which library they are using?

'ldd' will do what you ask.


237 [sun-lamp] trees % ldd /usr/bin/groff 
        -lm.0 => /usr/lib/ (0x10024000)
        -lgnumalloc.0 => /usr/lib/ (0x10031000)
        -lc.9 => /usr/lib/ (0x10035000)