On Wed, 2008-04-30 at 15:35 +0000, tony.chamberlain(a)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