Suppose, i create a new shared library. I use it a couple of times. And then,modify it, re-compile it. When i try to use the same library file, how can i force the compiler to off-load the one that's already present in the memory and load the new one to carry on my execution?
I came across a method where we used _init and _fini , but this will work if I am manually load or unload using dlopen() or dlclose() inside my C code only, right?
But, if I havent done so, is there a way to solve my problem?