I am looking for ways I can reduce the size of a shared library. The problem is that my library uses external libraries created by other people, and I only use some of the functions from those libraries. My questions is this: is there a way I can strip out specific symbols from those libraries, i.e. the ones I don't need? This is one of the ways that I thought might lower the size of my library.
What other techniques can I use to decrease the size? In terms of my own code, I am exposing the functions that need to be exposed. However, I still want my libraries' size to be much smaller so I am looking for other ways to do so.