@Antanicus
Dependencies are managed similarly to debian for instance: dependencies are separate packages and dependants can refer to the same package. Each package is installed in a directory in /gnu/store and packages reference these directories directly. This allows you to install software that refer to the same glibc directory (package), or to a different version/flavor of it, with no ambiguity or incompatibility.
@selea