Finding a symbol in my own process

view full story

http://stackoverflow.com – Here's the setup: There's an application A that loads liba.so (linked at compile time) liba.so exports a symbol expA I don't control either A or liba.so Application A can load a library I specify, libmine.so, into the same process via dlopen (think plugin architecture) I need to use expA from libmine.so but don't know how to find it without explicitly linking against liba.so, which is what I've been doing so far. I assume this won't work in the real world since that symbol is not guaranteed to be at the same address as the one in my local copy of liba.so (or is it?). libmine.so will be close (HowTos)