I want to achieve something like below :
I have multiple versions of a library. I dynamically load the latest version of the library using dlopen(). Then I want to see if a particular function (along with similar return type and argument list) exists in that version. If it does then open it else fall back to the previous version to check the same.
I've seen some posts on "version scripts" but am unable to use it. Also I think searching the symbol table will not be a solution as it only checks for function name there.