Aleksandar Kuktin wrote: >> On Wed, 16 Oct 2013 22:52:00 -0500 >> Bruce Dubbs <[email protected]> wrote: >> >> alex lupu wrote: >>> Not pretty. Apparently, a sizable dead space waiting to be >>> reclaimed. >> >> Actually, the files needed are the .so and .so.0 links and, of >> course, the file they point to. The .so file is what the linker >> looks for and the loader looks for the .so.0 file. You can delete >> the rest. > > Isn't it that the run-time linker uses whatever *.so was pointing to at > build time?
The build time linker embeds what the .so file says to use. Generally it's the so.# value. Devs can then update the library if the ABI doesn't change, but the internals do. If the ABI changes, then the library version (so.#) needs to be incremented. It is valid to have something like: lib.so -> lib.so.2 lib.so.2 -> lib.so.2222 lib.so.1 -> lib.so.1111 lib.so.1111 lib.so.2222 Apps can then use whatever was current when built, but new apps will use the .2 version. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
