I have an application dynamically loading libraries which dynamically load libraries which...

In Windows, I'm able to iterate over all loaded modules looking for the symbol I'm interested in. Don't know how to do that in Unix/Linux environment. I know I may use `dlsym(dlopen(0, flag))` or `dlsym(RTLD_DEFAULT / RTLD_NEXT)` for first two symbols and know the order of the modules to search in -- just how may I get deeper and get all definitions of given symbol?