LLVM-INSTALL-NAME-TOOL(1)
π LLVM-INSTALL-NAME-TOOL(1) β the LLVM manual, bestie edition π
okay so real talk: this is the man page for llvm-install-name-tool, a tool from LLVM, and I'm gonna walk you through it like we're texting at 2am. no cap, it's actually not that deep once you get the vibe. π¦
β¨ NAME β¨
llvm-install-name-tool β the LLVM tool for manipulating install-names and rpaths. that's the whole job. iconic, honestly. π
πΈ SYNOPSIS πΈ
llvm-install-name-tool [options] input
that's it. options, then your input binary. she's lowkey simple like that. π
π« DESCRIPTION π«
llvm-install-name-tool is a tool to manipulate dynamic shared library install names and rpaths listed in a Mach-O binary. mach-o binaries, specifically. not vibing with anything else. π
for most scenarios, it works as a drop-in replacement for Apple's install_name_tool. yes bestie, the way it just slots in β we love a seamless swap. β¨
π OPTIONS π
okay so here's the deal: at least one of the following options are required, and some options can be combined with other options. (not all of them though β read the fine print, i gotchu.) π
specifically: options -add_rpath, -delete_rpath, and -rpath can be combined in an invocation only if they do not share the same <rpath> value. like, they can hang out together, just not wearing the same outfit. π
-add_rpath<rpath> β add an rpath named <rpath> to the specified binary. can be specified multiple times to add multiple rpaths. throws an error if <rpath> is already listed in the binary. (rude of it to already be there, honestly π)-change<old_install_name> <new_install_name> β change 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. option is ignored if <old_install_name> is not listed in the specified binary β she just shrugs and moves on, no drama. π-delete_rpath<rpath> β delete 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. (can't delete what isn't there, bestie π)-delete_all_rpathsβ deletes all rpaths from the binary. all of them. the whole collection. gone. π₯--help,-hβ print a summary of command line options. the classic. the icon. π«Ά-id<name> β change 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 π). option is ignored if the specified Mach-O binary is not a dynamic shared library.-rpath<old_rpath> <new_rpath> β change 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. double jeopardy, no cap. β οΈ--version,-Vβ display the version of thellvm-install-name-toolexecutable. say hi to her for me. π
β EXIT STATUS β
llvm-install-name-tool exits with a non-zero exit code if there is an error. otherwise, it exits with code 0. so like, 0 = slay, anything else = something went sideways. π
π¦ BUGS π¦
to report bugs, please visit <https://github.com/llvm/llvm-project/labels/tools:llvm-objcopy/strip/>. found a problem? tell the devs, don't suffer in silence bestie π«Ά
π§ SEE ALSO π§
llvm-objcopy(1) β go read that one too, iykyk π
πΈ AUTHOR πΈ
maintained by the LLVM Team (https://llvm.org/). legends, honestly. π
π COPYRIGHT π
2003-2023, LLVM Project
ngl that's the whole page. every flag, every quirk, every "throws an error if". nothing skipped, nothing invented. periodt. π β¨
okay bye bestie β this page was page 17, dated 2023-12-01, from the LLVM-INSTALL-NAME-TOOL(1) manual, and you absolutely ate that read. ππ¦π
π¦ where this page comes from
- opensuse-leap 16.0: llvm17 17.0.6-160000.3.1 Β· Apache-2.0 WITH LLVM-exception AND NCSA
- opensuse-leap 16.0: llvm17 17.0.6-160000.3.1 Β· Apache-2.0 WITH LLVM-exception AND NCSA
- opensuse-leap 16.0: llvm17 17.0.6-160000.3.1 Β· Apache-2.0 WITH LLVM-exception AND NCSA
- opensuse-leap 16.0: llvm17 17.0.6-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