 Shared libraries can be statically linked during compile-time, meaning that references to the library modules are resolved and the modules are allocated memory when the executable file is created.But often linking of shared libraries is postponed until they are loaded.Most modern operating systems can have shared library files of the same format as the executable files.