install_name_tool.1   [plain text]


.TH INSTALL_NAME_TOOL 1 "March 26, 2001" "Apple Computer, Inc."
.SH NAME
install_name_tool \- change dynamic shared library install names
.SH SYNOPSIS
.B install_name_tool
[\-change old new ] ... [\-id name] file
.SH DESCRIPTION
.I Install_name_tool
changes the dynamic shared library install names recorded in a Mach-O binary.
For this tool to work when the install names are larger the binary should be
built with the
.IR ld (1)
.B \-headerpad_max_install_names
option.
.TP
.BI \-change " old new"
Changes the dependent shared library install name
.I old
to
.I new
in the specified Mach-O binary.  More than one of these options can be
specified.
If the Mach-O binary does not contain the
.I old
install name in a specified
.B \-change
option the option is ignored.
.TP
.BI \-id " name"
Changes the shared library identification name of a dynamic shared library to
.I name.
If the Mach-O binary is not a dynamic shared library and the
.B \-id
option is specified it is ignored.
.SH "SEE ALSO"
ld(1)