 Depending on the library ordering on the link command line (i.e.codice_11) the dynamic linker uses the weak f from libfoo.so although a strong version is available at runtime.The GNU codice_12 provides the environment variable codice_13 to provide weak semantics for the dynamic linker.