Static linking with a custom glibc version
Florian Weimer
fweimer@redhat.com
Wed Jun 3 12:34:17 GMT 2020
* Mahmood Naderan:
>>A statically linked binary needs to be linked with libc.a (among other
>>things).
>
> As you can see in
>
> -Wl,--rpath=/opt/glibc-2.23-install \
> -Wl,--dynamic-linker=/opt/glibc-2.23-install/lib/ld-2.23.so \
>
> I have specified a path for rpath. Also, there is no ld-2.23.a
> So, what should I do?
Statically linked binaries do not use a program interpreter and
therefore do not need any of that.
Thanks,
Florian
More information about the Libc-help
mailing list