I am creating a shared library loaded from an application (which I do not control). My library uses other shared libraries, which, in turn, use other shared libraries, complex but not unusual.
The problem is that the main application has functions that are present in one of the libraries located further in the chain, more specifically, this openLDAP, in turn, uses functions openSSL:
Main app->My library->openLDAP libraries->openSSL libraries
I assume that the main application implements openSSLeither a static link or a simple copy / paste of the source code.
My question is: can I control which functions I openLDAPuse from my library, or do I need to recompile openLDAPwith static binding to openSSL?
Since it openSSLupdates quite often due to security issues, I do not need a static copy if I do not need it. And why redistribute a proprietary copy openLDAPwhen it is part of most distribution packages ...
source
share