I author a shared library that 'dlopens' another shared library (of which I am not the author/owner)
My shared library, is 'dlopened' by an executable (of which I am not the author/owner)
So the hierarchy is: exe dlopen's my library, my library dlopen's another library.
The library that my library dlopens utilizes openssl. However, it would seem that the authors of this library do not link the openssl libraries - perhaps assuming that the user of the library will.
Thus, when I attempt to dlopen their library, I am met with undefined symbol errors.
Even if I link the openssl libraries into my library, I still get the undefined symbol errors.
My questions are two:
1) When the library requiring openssl is dlopen'ed, does it only know to 'look' towards the exe to do the symbol resolution?
2) Are there special linker flags that I might be missing on my library, linking in openssl, that I need?
thanks.