export symbols in a lib chain with dlopen

If I create a parent executable which loads a single library through dlopen, if I have compiled the main executable with -rdynamic, then I can use its simbols in the library with the clasule "extern". This is not a problem and it's working, but....

If I have an already made executable (which is out of my control) which loads my library1, and my library1 loads another library2 (also mine), then, even if I link library1 with -rdynamic, library2 cant see symbols from library1...

In a word, rdynamic sems to be working within executables but not within shared libraries....

How can I make it and why its not working?

Thanks
Last edited on
Topic archived. No new replies allowed.