Why Not Shared Libraries?
From the view point of memory space and storage space economy, why not moving to the shared library environment? Don't miss the chance to use your computing resources more effectively.
creates a shared library file "libfoo.so.1.0" which is to be referred to as "libfoo.so" in dynamic loading.
Notice that the shared library has to be executable as it must have been so created above.
Then do
This updates /etc/ld.so.cache which lists the available shared libraries on your system.
Notice that this command has te be executed as root, if the executable is not readable to ordinary users.