Basic Knowledge of Compilers
This topic is rather complicated which can easily fill several books, here is something very basic designated for future review.
STATIC
libraries are archives of object files for use when linking other targets.SHARED
libraries are linked dynamically and loaded at runtime.MODULE
libraries are plugins that are not linked into other targets but may be loaded dynamically at runtime using dlopen-like functionality.