From 909df276e9f19297a48fc2e08c8c7d01eacce7bf Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 15 Jul 2013 14:32:46 +0200 Subject: [PATCH] ld.so.8: Describe $LIB rpath token Signed-off-by: Michael Kerrisk --- man8/ld.so.8 | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/man8/ld.so.8 b/man8/ld.so.8 index d60792d21..10675ac5d 100644 --- a/man8/ld.so.8 +++ b/man8/ld.so.8 @@ -108,8 +108,18 @@ This facilitates the creation of "turn-key" applications that do not need to be installed into special directories, but can instead be unpacked into any directory and still find their own shared libraries. -.\" ld.so also understands $LIB, with the same meaning as $ORIGIN/lib, -.\" it appears. +.TP +.IR $LIB " (or equivalently " ${LIB} ) +This expands to +.I lib +or +.I lib64 +depending on the architecture +(e.g., on x86-64, it expands to +.IR lib64 +and +on x86-32, it expands to +.IR lib ). .\" .\" There is also $PLATFORM. This is a kind of wildcard .\" of directories related to AT_PLATFORM. To get an idea of the