[PATCH v2] elf: Install a symbolic link to ld.so as /usr/bin/ld.so

Florian Weimer fweimer@redhat.com
Tue Nov 23 16:38:32 GMT 2021


* Andreas Schwab:

> On Nov 15 2021, Florian Weimer via Libc-alpha wrote:
>
>> This makes ld.so features such as --preload, --audit,
>> and --list-diagnostics more accessible to end users because they
>> do not need to know the ABI name of the dynamic loader.
>
> Ok.
>
>> diff --git a/NEWS b/NEWS
>> index f10971b180..2f56f3db28 100644
>> --- a/NEWS
>> +++ b/NEWS
>> @@ -68,6 +68,10 @@ Major new features:
>>    to be used by compilers for optimizing usage of 'memcmp' when its
>>    return value is only used for its boolean status.
>>  
>> +* A symbolic link to the dynamic linker is now installed under
>> +  /usr/bin/ld.so (or ${bindir}/ld.so if glibc is not configured with
>> +  --prefix=/usr).
>
> This is true even if --prefix=/usr.

I think there is value in mentioning the string /usr/bin/ld.so because
it's what users will say.  So perhaps this?

+* A symbolic link to the dynamic linker is now installed under
+  ${bindir}/ld.so (that is, /usr/bin/ld.so if glibc has been configured
+  with --prefix=/usr).

Do you have an opinion on adding the symbolic link?

Thanks,
Florian



More information about the Libc-alpha mailing list