Quickly Move an Executable Between Systems With ELF Statifier | Linux Today

Quickly Move an Executable Between Systems With ELF Statifier

Written By
Web Webster
Web Webster
Oct 24, 2008

“Of course, to do this you sacrifice some disk space, because
the statically linked executable includes a copy of the shared
libraries that it needs, but in these days of terabyte disks the
space consideration is less important than the security one.
Consider what happens if your executables are dynamically linked to
a shared library, say libfoo, and there is a security update to
libfoo. When your applications are dynamically linked you can just
update the shared copy of libfoo and your applications will no
longer be vulnerable to the security issue in the older libfoo. If
on the other hand you have a statically linked executable, it will
still include and use its own private copy of the old libfoo.
You’ll have to recreate the statically linked executable to get the
newer libfoo and security update.

“Still, there are times when you want to take a daemon you
compiled on a Fedora machine and run it on your openSUSE machine
without having to recompile it and all its dependencies. Sometimes
you just want it to execute now and can rebuild it later if
desired. Of course, the machine you copy the executable from and
the one on which you want to run it must have the same
architecture.”

Complete
Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.