Wrong order of shared library search paths in ld document

Xi Ruoyao ryxi@stu.xidian.edu.cn
Tue Jun 5 12:25:00 GMT 2018


In ld man and info pages:

>            The linker uses the following search paths to locate required
>            shared libraries:
/*snip*/
>            7.  The default directories, normally /lib and /usr/lib.
> 
>            8.  For a native linker on an ELF system, if the file
>                /etc/ld.so.conf exists, the list of directories found in that
>                file.

But after the fix of PR 2290, ld searchs the paths in /etc/ld.so.conf first,
then the default directories.
-- 
Xi Ruoyao <ryxi@stu.xidian.edu.cn>
School of Aerospace Science and Technology, Xidian University
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3604 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20180605/a8203d85/attachment.bin>


More information about the Binutils mailing list