<p>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).</p>

<p>I'm using gcc 4.0.2, if that makes a difference.</p>

You can use the
```
nm -g
```
tool from the binutils toolchain. However, their source is not always readily available. and I'm not actually even sure that this information can always be retrieved. Perhaps
```
objcopy
```
reveals further information.
/EDIT: The tool's name is of course
```
nm
```
. The flag
```
-g
```
is used to show only exported symbols.