]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
ld.so.8: Explain than empty entry in LD_LIBRARY_PATH means cwd
authorArkadiusz Drabczyk <arkadiusz@drabczyk.org>
Tue, 23 Jun 2020 22:59:10 +0000 (00:59 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Thu, 25 Jun 2020 07:13:46 +0000 (09:13 +0200)
If this was ever going to change the test case is very simple:

$ cd /tmp
$ touch libc.so.6
$ LD_LIBRARY_PATH=: sh
sh: error while loading shared libraries: libc.so.6: file too short

Signed-off-by: Arkadiusz Drabczyk <arkadiusz@drabczyk.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man8/ld.so.8

index 9034612ed3e418bbffe643809ffce2232d013199..2e98b7f5a425087834e89f45b8472b36599e81c4 100644 (file)
@@ -319,6 +319,7 @@ A list of directories in which to search for
 ELF libraries at execution time.
 The items in the list are separated by either colons or semicolons,
 and there is no support for escaping either separator.
+A zero-length directory name indicates the current working directory.
 .IP
 This variable is ignored in secure-execution mode.
 .IP