What are the differences between Shared and Dynamic libraries?

Showing Answers 1 - 3 of 3 Answers


  • Sep 16th, 2005

Shared libraries are loaded into memory before compilation,during parsing whereas dynamic libraries are loaded during compilation time itself.

  Was this answer useful?  Yes


  • Apr 26th, 2006

: There are two ways in which a library is shared. Static and dynamic 

In statically linked library the code of library is referenced at compile time and the result executable will be bigger.

I dynamically linked libraries the code of library is referenced at run time and resulting executable will be smaller. But drwaback is that at run time this will need the library to reference the library related symbols.

  Was this answer useful?  Yes


  • May 27th, 2006

system allow us to create and use two kinds of libraries - static libraries and shared (or dynamic) libraries.shared and dynamic libraries are one and the same. the object files from the dynamic(shared ) library are not inserted into the executable file unlike static lib...

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.


Related Answered Questions


Related Open Questions