How do I list the symbols being exported from a .so file? If possible, I'd also like to know their source (e.g. if they are pulled in from a static library).I'm using gcc 4.0.2, if that makes a difference.
Use nm -D -C name_of_lib.so. It's not really possible to know if the symbol came from a static lib. The function names might give you some hints though.