Shared Libraries

How do i make a library shared

say i have a library a.so which i have just compiled.
I want to make it shared how do i make it

Next Queation is what is the difference between a.so.0 a.so.1 a.so.2 & a.so :rolleyes:

You can't convert an executable to make it shared, you have to build it shared in the first place. You can do this under linux by using the -shared flag during linking. Some architectures, like amd64, also need -fPIC during compilation.