That is not how shared libraries work (thank goodness). There is one library on the disk. There is one copy of the code loaded into RAM. It is mapped to two applications' memory spaces. But there are two copies of the data segment, one for each application. Alan .