how to link with old versions of glibc?

Florian Weimer
Wed May 20 14:58:13 GMT 2020

* Carlos O'Donell:

> On 5/20/20 10:50 AM, Florian Weimer via Libc-help wrote:
>> I'm not sure if this actually works, I would have expected some -L
>> arguments as well, so maybe this:
> ld.bfd says -rpath alters the search directory.
> Does that make the -L redundant?

If ld.bfd does that, yes, it will be redundant.  The manual page only
says that “The -rpath option is also used when locating shared objects
which are needed by shared objects explicitly included in the link; see
the description of the -rpath-link option.”, which subtly different.
But I have not tested this.

Paul can test this for us. 8-)


More information about the Libc-help mailing list