[lug] Need help understanding linking and loading shared libraries

Kenneth D. Weinert kenw at quarter-flash.com
Tue Feb 5 22:26:15 MST 2008


objdump -p <libname> | awk '/SONAME/ {print $2}'

That will print the soname of a shared lib.

On Tue, 2008-02-05 at 21:13 -0700, Michael Hirsch wrote:

> I haven't seen any way to query a .so file to find out it's "-soname" setting.

> 
> Ken Weinert
> http://quarter-flash.com
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20080205/39f46fc6/attachment.pgp>


More information about the LUG mailing list