statifier(1)
statifier(1) π β¨ Elf Statifier vibes
πΈ NAME πΈ
okay so statifier is literally the Elf dynamically linked executables statifier β the Elf Statifier manual, bestie. It takes an ELF dynamically linked executable and all its required libraries and turns them into one stand-alone executable. That executable can be copied to another machine without any of these shared libraries and run. itβs giving portability πβ¨
π¦ SYNOPSIS π¦
statifier [OPTION]... <exe_file> <statified_exe>
π DESCRIPTION π
Statifier makes one stand-alone executable from an ELF dynamically linked executable and all its required libraries. This executable can be copied to another machine without any of these shared libraries and run. no cap, thatβs the whole glow-up π«Ά
β¨ OPTIONS β¨
-h,--helpβ display this help and exit. polite icon behavior π-k,--keep-working-directoryβ Do not remove working directory. Also change it from$TMPDIR/statifier.tmpdir.$$to./.statifier.-s,--set=VAR=VALUEβ Set environment variableVARto valueVALUE. Multiplesetoptions accepted. stack βem, bestie π-u,--unset=VARβ Unset environment variableVAR. Multipleunsetoptions accepted.-v,--verboseβ verbose output. give me all the tea π₯-V,--versionβ output version and exit.
π FILES π
$TMPDIR/statifier.tmpdir.$$β Directory which contains all temporary files.
π ENVIRONMENT VARIABLES π
TMPDIRβ Directory for temporary files. If not set/tmp/used.
π EXAMPLES π
π« Example 1: pretty trivial
statifier /bin/df df.static
Pretty trivial. Convert /bin/df to df.static.
π« Example 2: something more interesting
statifier --set=LD_BIND_NOW=yes /bin/df df.static
Something more interesting. Dynamic linker will resolve all symbols. So statifing will take longer, but resulting exe will have faster startup. highkey worth it β¨
π« Example 3: preloaded library link-up
statifier --set=LD_PRELOAD=/some/library/to/by/preloaded /bin/df
df.static
Will βlinkβ /bin/df with preloaded library.
π NOTE π
Environment variables are described in the run-time loaderβs man page. go check the lore π«Ά
πΈ LIMITATIONS πΈ
Currently it works only on Linux x86, x86_64 and Alpha.
β SEE ALSO β
π AUTHORS π
- Valery Reznic
<valery_reznic@users.sourceforge.net>π
thatβs the whole page, bestie π«Ά source/version vibes: Elf Statifier manual, version 1.7.4, author Valery Reznic, manual name statifier(1). The footer has no date listed β so no fake date, just the version and the name. bye π
β¨
π¦ where this page comes from
- nixos 26.05: statifier 1.7.4
- nixpkgs unstable: statifier 1.7.4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms