aboutsummaryrefslogtreecommitdiffstats
path: root/man8
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2014-10-28 14:47:19 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2014-10-28 14:49:12 +0100
commitd3acae5682b8b6fd23ed5767e696e6c3fcb775c4 (patch)
treefb66400aafdb164730345ec73eeb663795e3d7c6 /man8
parentea55bc7b3a553b8ccd580b8a50a25d0525b986bf (diff)
downloadman-pages-d3acae5682b8b6fd23ed5767e696e6c3fcb775c4.tar.gz
ld.so.8: Correct documentation of $ORIGIN
As noted by Siddhesh: The ld.so man page says: $ORIGIN (or equivalently ${ORIGIN}) This expands to the directory containing the application executable. Thus, an application located in somedir/app could be compiled with This is incorrect since it expands to the directory containing the DSO and not the application executable. This seems like deliberate behaviour in dl-object.c, so it needs to be fixed in the man page. See http://stackoverflow.com/questions/26280738/what-is-the-equivalent-of-loader-path-for-rpath-specification-on-linux/26281226#26281226 Reported-by: Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man8')
-rw-r--r--man8/ld.so.82
1 files changed, 1 insertions, 1 deletions
diff --git a/man8/ld.so.8 b/man8/ld.so.8
index 5342aa533b..7f38d7ea22 100644
--- a/man8/ld.so.8
+++ b/man8/ld.so.8
@@ -92,7 +92,7 @@ understands certain strings in an rpath specification (DT_RPATH or DT_RUNPATH);
.TP
.IR $ORIGIN " (or equivalently " ${ORIGIN} )
This expands to
-the directory containing the application executable.
+the directory containing the program or shared library.
Thus, an application located in
.I somedir/app
could be compiled with