In the book "The Linux Programming Interface" it reads:
Although the code of a shared library is shared among multiple processes, its variables