Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

install_name_tool(1) [osx man page]

INSTALL_NAME_TOOL(1)					      General Commands Manual					      INSTALL_NAME_TOOL(1)

NAME
install_name_tool - change dynamic shared library install names SYNOPSIS
install_name_tool [-change old new ] ... [-rpath old new ] ... [-add_rpath new ] ... [-delete_rpath new ] ... [-id name] file DESCRIPTION
Install_name_tool changes the dynamic shared library install names and or adds, changes or deletes the rpaths recorded in a Mach-O binary. For this tool to work when the install names or rpaths are larger the binary should be built with the ld(1) -headerpad_max_install_names option. -change old new Changes the dependent shared library install name old to 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 old install name in a specified -change option the option is ignored. -id name Changes the shared library identification name of a dynamic shared library to name. If the Mach-O binary is not a dynamic shared library and the -id option is specified it is ignored. -rpath old new Changes the rpath path name old to 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 old rpath path name in a specified -rpath it is an error. -add_rpath new Adds the rpath path name new in the specified Mach-O binary. More than one of these options can be specified. If the Mach-O binary already contains the new rpath path name specified in -add_rpath it is an error. -delete_rpath old deletes the rpath path name old in the specified Mach-O binary. More than one of these options can be specified. If the Mach-O binary does not contains the old rpath path name specified in -delete_rpath it is an error. SEE ALSO
ld(1) Apple, Inc. March 4, 2009 INSTALL_NAME_TOOL(1)

Check Out this Related Man Page

JOCAMLMKLIB(1)						      General Commands Manual						    JOCAMLMKLIB(1)

NAME
jocamlmklib - generate libraries with mixed C / Caml code. SYNOPSIS
ocalmklib [options] files DESCRIPTION
The jocamlmklib command facilitates the construction of libraries containing both Caml code and C code, and usable both in static linking and dynamic linking modes. OPTIONS
-h, --help Show summary of options. -cclib lib C library passed to jocamlc -a or jocamlopt(1) -a only. -ccopt opt C option passed to jocamlc(1) -a or jocamlopt(1) -a only. -custom Disable dynamic loading. -dllpath dir Add dir to the run-time search path for DLLs. -I dir Add dir to the path searched for Caml object files. -failsafe Fall back to static linking if DLL construction failed. -ldopt opt C option passed to the shared linker only. -linkall Build Caml archive with link-all behavior. -llib Specify a dependent C library. -Ldir Add dir to the path searched for C libraries. -jocamlc cmd Use cmd in place of jocamlc(1). -jocamlopt cmd Use cmd in place of jocamlopt(1). -o name Generated Caml library is named name.cma or name.cmxa. -oc name Generated C library is named dllname.so or libname.a. -rpath dir Same as -dllpath dir. -Rdir Same as -rpath. -verbose Print commands before executing them. -Wl, -rpath dir Same as -dllpath dir. -Wl, -rpath -Wl dir Same as -dllpath dir. -Wl, -Rdir Same as -dllpath dir. -Fdir Specify a framework directory (MacOSX). -framework name Use framework name (MacOSX). SEE ALSO
jocamlc(1), jocamlopt(1). AUTHOR
This manual page was written by Samuel Mimram <samuel.mimram@ens-lyon.org>, for the Debian project (but may be used by others). August 19, 2004 JOCAMLMKLIB(1)
Man Page