I use my own shared memory manager dll. This has nothing to do with the shared memory system like i mentioned this works fine under free pascal and delphi under windows. It appears that the code in the initialization sections is just not called under linux when loading a .so.