Question: what is the difference between static library and dynamic library in linux?
Answer: Static libraries, while reusable in multiple programs, are locked into a program at compile time. ... In contrast, a dynamic library can be modified without a need to re-compile. Because dynamic libraries live outside of the executable file, the program need only make one copy of the library's files at compile-time.