should be simple, but

Ralf Corsepius rc040203 at freenet.de
Wed Apr 30 15:47:54 UTC 2008


On Wed, 2008-04-30 at 15:35 +0000, tony.chamberlain at lemko.com wrote:
>  
> if I have a library, e.g. libstdc++.so, there should be a simple Linux
> command
> to list the contents (i.e. functions) in that library, but I cannot
> find it.
> I found nm but that says "no symbols" and ar isn't right either.
> Google was not very cooperative.
> 
> I am sure there is a simple answer.

man nm
and
nm --help

You are looking for
nm -sD lib<shared-library>.so
or
nm -sDC lib<c++-library>.so.Y
or
nm -s lib<static-library>.a


Ralf





More information about the fedora-list mailing list