diff --git a/man8/ld.so.8 b/man8/ld.so.8 index 84278d0..0e6461a 100644 --- a/man8/ld.so.8 +++ b/man8/ld.so.8 @@ -143,6 +143,26 @@ ELF libraries at execution-time. Similar to the .B PATH environment variable. + +.B ld.so +understands the strings +.I $ORIGIN +, +.I $LIB +and +.I $PLATFORM +(or equivalently +.IR ${var} ) +in a LD_LIBRARY_PATH string. + +.B LIB +is expanded to lib or lib64 based on the architecture. + +.B ORIGIN +is expanded to the location of the binary which is currently loaded. + +.B PLATFORM +is expanded to the running platform. .TP .B LD_PRELOAD A whitespace-separated list of additional, user-specified, ELF shared