CHRPATH(1) change rpath/runpath in binaries CHRPATH(1)NAME
chrpath - change the rpath or runpath in binaries
SYNOPSIS
chrpath [ -v | --version ] [ -d | --delete ] [ -r <path> | --replace <path> ] [ -c | --convert ] [ -l | --list ] [ -h | --help ] <program>
[ <program> ... ]
DESCRIPTION
chrpath changes, lists or removes the rpath or runpath setting in a binary. The rpath, or runpath if it is present, is where the runtime
linker should look for the libraries needed for a program.
OPTIONS -v | --version
Display program version number
-d | --delete
Delete current rpath or runpath setting
-c | --convert
Convert the rpath setting into a runpath setting
-r <path> | --replace <path>
Replace current rpath or runpath setting with the path given
-k | --keepgoing
Do not fail on first error, but process all arguments before returning the error.
-l | --list
List the current rpath or runpath (default)
-h | --help
Show usage information.
EXIT STATUS
0 If all operations were successful
>0 if one of the operations failed. A failing operation terminates the program unless -k is specified.
AUTHOR
The chrpath program was written by Petter Reinholdtsen <pere@hungry.com>, based on works by Geoffrey Keating <geoffk@ozemail.com.au> and
Peeter Joot <peeterj@ca.ibm.com>.
This manual page was originally written by Tollef Fog Heen <tfheen@debian.org>, for the Debian GNU/Linux system (but may be used by oth-
ers).
chrpath May 4, 2002 CHRPATH(1)
Check Out this Related Man Page
OCAMLMKLIB(1) General Commands Manual OCAMLMKLIB(1)NAME
ocamlmklib - generate libraries with mixed C / Caml code.
SYNOPSIS
ocalmklib [options] files
DESCRIPTION
The ocamlmklib 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 ocamlc -a or ocamlopt(1)-a only.
-ccopt opt
C option passed to ocamlc(1)-a or ocamlopt(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.
-ocamlc cmd
Use cmd in place of ocamlc(1).
-ocamlopt cmd
Use cmd in place of ocamlopt(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 ocamlc(1), ocamlopt(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 OCAMLMKLIB(1)
Hello,
I'm tryign to compile a sample code which uses OTL(Oracle, Odbc and DB2-CLI Template Library Programmer's Guide). I get this error while compiling the source file:
$ g++ foo.cpp -o foo -I /tmp/ -I$ORACLE_HOME/rdbms/demo -I$ORACLE_HOME/rdbms/public -L$ORACLE_HOME/lib/ -lclntsh... (0 Replies)
Hi,
in this forum I was able to find a logic written by perderabo to write packed decimals. the code works fine. However, I would want to convert it to a c program. so as to do that I am not able to understand the below mentioned logic. Can someone please help me understand that?
if... (0 Replies)
Hi All,
I have a c program called findPath.c in a path /home/harsh/c-Programs/. How can i find the path where the program is stored at runtime?? I have given the following
#include<stdio.h>
int main()
{
system("dirname $0");
return 0;
}
This is resulting in the output as
.
<single dot... (6 Replies)