LLVM-INSTALL-NAME-TOOL(1)
π llvm-install-name-tool(1) β the LLVM era π
okay so bestie, welcome to the LLVM manual page for llvm-install-name-tool(1) β literally the glow-up you didn't know your Mach-O binaries needed β¨
πΈ NAME πΈ
llvm-install-name-tool β the LLVM tool for manipulating install-names and rpaths π
β¨ SYNOPSIS β¨
llvm-install-name-tool [options] input
π¦ DESCRIPTION π¦
So llvm-install-name-tool is that girl who manipulates dynamic shared library install names and rpaths listed in a Mach-O binary π
no cap.
And for most scenarios, she works as a drop-in replacement for Apple's install_name_tool β like, she just slides in and does the job π periodt.
π OPTIONS π
okay so the rules first, because there are rules: you need at least one of the following options, and some options can be combined with other options. And listen β -add_rpath, -delete_rpath, and -rpath can be combined in an invocation only if they do not share the same <rpath> value. the way that's a vibe check on your flags, fr fr π
-add_rpath <rpath>β adds an rpath named<rpath>to the specified binary β¨ you can specify it multiple times to add multiple rpaths. it throws an error if<rpath>is already listed in the binary β not me getting caught duplicating π-change <old_install_name> <new_install_name>β changes an install name<old_install_name>to<new_install_name>in the specified binary π can be specified multiple times to change multiple dependent shared library install names. and bestie, the option is ignored if<old_install_name>is not listed in the specified binary β it's giving unbothered π-delete_rpath <rpath>β deletes an rpath named<rpath>from the specified binary πΈ can be specified multiple times to delete multiple rpaths. throws an error if<rpath>is not listed in the binary π-delete_all_rpathsβ deletes all rpaths from the binary π₯ clean slate energy, we love a fresh start--help,-hβ prints a summary of command line options π«Ά the lil pep talk before you start-id <name>β changes the shared library's identification name underLC_ID_DYLIBto<name>in the specified binary β if specified multiple times, only the last-idoption is selected (last one wins, main character energy π). the option is ignored if the specified Mach-O binary is not a dynamic shared library π-rpath <old_rpath> <new_rpath>β changes an rpath named<old_rpath>to<new_rpath>in the specified binary π¦ can be specified multiple times to change multiple rpaths. throws an error if<old_rpath>is not listed in the binary or<new_rpath>is already listed in the binary π€ both directions get a vibe check--version,-Vβ displays the version of thellvm-install-name-toolexecutable π
π EXIT STATUS π
llvm-install-name-tool exits with a non-zero exit code if there is an error. otherwise? she exits with code 0 β¨ slay.
π BUGS π
to report bugs, please visit <https://github.com/llvm/llvm-project/labels/tools:llvm-objcopy/strip/> π bestie, don't suffer in silence, tell the team
π SEE ALSO π
llvm-objcopy(1) β go give her a read too, iykyk π§
π AUTHOR π
maintained by the LLVM Team (https://llvm.org/) π«Ά absolute icons
π COPYRIGHT π
2003-2023, LLVM Project β
okay that's the whole page, no notes π
and a lil sign-off from the footer: this beauty is LLVM-INSTALL-NAME-TOOL(1), page 15, dated 2023-01-14, from LLVM β that's the source, that's the version, and that's the tea π¦πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: llvm15 15.0.7-160000.3.1 Β· Apache-2.0 WITH LLVM-exception AND NCSA
- opensuse-leap 16.0: llvm15 15.0.7-160000.3.1 Β· Apache-2.0 WITH LLVM-exception AND NCSA
- opensuse-leap 16.0: llvm15 15.0.7-160000.3.1 Β· Apache-2.0 WITH LLVM-exception AND NCSA
- opensuse-leap 16.0: llvm15 15.0.7-160000.3.1 Β· Apache-2.0 WITH LLVM-exception AND NCSA
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms