LLVM-INSTALL-NAME-TOOL(1)
β¨ LLVM-INSTALL-NAME-TOOL(1) β¨
okay bestie, so this is a page from the LLVM manual set, and it's all about llvm-install-name-tool π
buckle up
π NAME π
llvm-install-name-tool β the LLVM tool for messing with install-names and rpaths, no cap
πΈ SYNOPSIS πΈ
llvm-install-name-tool [options] input
π¦ DESCRIPTION π¦
So like, llvm-install-name-tool is a tool that manipulates dynamic shared library install names and rpaths that are listed inside a Mach-O binary. that's the whole vibe π
And for most scenarios?? it literally works as a drop-in replacement for Apple's install_name_tool. iconic behaviour honestly π
π OPTIONS π
Real talk: you need at least one of these options, and some of them can be combined with the others. But here's the tea β β -add_rpath, -delete_rpath, and -rpath can only be combined in a single invocation if they do not share the same <rpath> value. periodt.
-add_rpath <rpath>β adds an rpath named<rpath>to the binary you specified. you can pass this multiple times to stack up multiple rpaths, slay β¨ but heads up: it throws an error if<rpath>is already listed in the binary π-change <old_install_name> <new_install_name>β swaps an install name from<old_install_name>to<new_install_name>in the binary you specified. pass it multiple times to change a whole bunch of dependent shared library install names at once π and ngl, this option is ignored if<old_install_name>isn't even listed in the binary you gave it. it's giving "no thoughts, head empty" π-delete_rpath <rpath>β deletes an rpath named<rpath>from the binary you specified. multiple times = multiple rpaths gone bye bye π«Ά but it throws an error if<rpath>isn't listed in the binary-delete_all_rpathsβ deletes every single rpath from the binary. cleanse era π--help,-hβ prints a summary of the command line options π-id <name>β changes the shared library's identification name underLC_ID_DYLIBto<name>in the binary you specified. if you specify it multiple times, only the last-idoption gets picked, sorry to the others π and this option is ignored if the Mach-O binary you specified isn't a dynamic shared library. wrong binary, no service π«-rpath <old_rpath> <new_rpath>β changes an rpath named<old_rpath>to<new_rpath>in the binary you specified. multiple times = multiple rpaths changed π₯ but it throws an error if<old_rpath>isn't listed in the binary, or if<new_rpath>is already listed in the binary. double trouble fr fr--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's an error. otherwise?? it exits with code 0 and we celebrate π
π BUGS π
to report bugs, please visit https://github.com/llvm/llvm-project/labels/tools:llvm-objcopy/strip/ π
π SEE ALSO π
llvm-objcopy(1)<llvm-objcopy.html>
π Author π
Maintained by the LLVM Team (https://llvm.org/).
π Copyright π
2003-2026, LLVM Project
and that's the whole page bestie π«Ά this was the LLVM llvm-install-name-tool page, page 22, dated 2026-07-16, brought to you by the LLVM Project β iykyk πβ¨π¦
π¦ where this page comes from
- fedora 44: llvm 22.1.8-4.fc44 Β· Apache-2.0 WITH LLVM-exception OR NCSA
- fedora 44: llvm 22.1.8-4.fc44 Β· Apache-2.0 WITH LLVM-exception OR NCSA
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms