Product SiteDocumentation Site

3.2.4. Static Linking

Static linking is emphatically discouraged for all Red Hat Enterprise Linux releases. Static linking causes far more problems than it solves, and should be avoided at all costs.
The main drawback of static linking is that it is only guaranteed to work on the system it was built, and even so, only until the next release of glibc or libstdc++ (in the case of C++). There is no forward or backward compatibility with a static build. Furthermore, any security fixes (or general-purpose fixes) in subsequent updates to the libraries will not be avilable unless the affected statically linked executables are re-linked.
Additional reasons to avoid static linking include:
The above are only a handful of reasons why static linking should be avoided. For additional reasons, see: Static Linking Considered Harmful.