Bruce Dubbs wrote these words on 02/21/05 23:04 CST:
It is my understanding that the .so files, like the .a files are only
used for linking during compilation of other programs.
Incorrect. They are loaded when the program is loaded. If they are already in memory, they do not need to be loaded again -- they are reused. Thats the advantage of dynamically loaded libraries (dll) or shared objects (so).
When building with static (.a) libraries, the code is inserted into the program at link time. There is never a resson to have static libraries in /lib, but it should have any shared object that is needed by programs in /bin or /sbin.
-- Bruce
-- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
