Why is statically linking glibc discouraged? : <p>Most of the sources online state that you can statically link glibc, but discourage from doing so; e.g. <a href="https://centos.pkgs.org/7/centos-updates-x86_64/glibc-static-2.17-260.el7_6.4.x86_64.rpm.html" rel="noreferrer">centos package repo</a>:</p>

<pre><code>The glibc-static package contains the C library static libraries
for -static linking.  You don't need these, unless you link statically,
which is highly discouraged.
</code></pre>

<p>These sources rarely (or never) say why that would be a bad idea.</p>
