If you have lost access to the source code of your library, but have files .o(or an archive .a), you can choose a different version of the dependencies.
If you use OpenSSL and libPNG as dynamic libraries, your life is simpler. If you are statically attached to your file .so, you will need advanced ELF manipulation methods that can help if you're lucky and determined.
All this can work only if the interfaces that you use in these libraries remain untouched.
source
share