Replacing a statically linked library with a dynamic one in C and C++
===

I have 2 objects, both are 32 bit linux objects ( 2 .so files ), the main difference is that 1 is dynamically linked and the other one is static.

Now i have to do this: replace the static one with the dynamic one without corrupting the system and the application which uses this library.

For licensing reasons i just have this dynamic version, i can't ask for a different version of this library.

I never had this problem before, i guess that i have to convert the dynamic library into a static onel but i don't know nothing about this and i don't know how to do this in a safe way.