]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
ld.so.8: Describe interpretation of slashes in dependency strings
authorMichael Kerrisk <mtk.manpages@gmail.com>
Sun, 26 Aug 2012 21:01:34 +0000 (23:01 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Sun, 26 Aug 2012 22:53:20 +0000 (00:53 +0200)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man8/ld.so.8

index f0ecde56473a1c5cc377986d84f1d462b9fc99ce..1bfa55b887db42142434b99f24cc2ece8e0fe1a8 100644 (file)
@@ -40,8 +40,16 @@ support files and programs
 and
 .IR /etc/ld.so.conf .
 .LP
-The shared libraries needed by the program are searched for
-in the following order:
+When resolving library dependencies,
+the dynamic linker first inspects each dependency
+string to see if it contains a slash (this can occur if
+a library pathname containing slashes was specified at link time).
+If a slash is found, then the dependency string is interpreted as
+a (relative or absolute) pathname,
+and the library is loaded using that pathname.
+.LP
+If a library dependency does not contain a slash,
+then it is searched for in the following order:
 .IP o 3
 (ELF only) Using the directories specified in the
 DT_RPATH dynamic section attribute