title: Linux equivalent of DllMain
body: <p>In *nix .so libraries, is there an entry point that's invoked by the system when the library is loaded and unloaded?</p>
  
  <p>On a more practical note: if the .so was written in C++ and it contains global objects with constructors and destructors, and it's loaded from a language that has no notion of construction/destruction, are the global objects properly constructed/destructed?</p>