I used command patchelf --remove-rpath /my/lib/ld-linux-x86-64.so.2
to handle it.
during update the glibc
from version 2.17
to 2.28
.
Kernel: Linux 3.10.0-1160.95.1.el7.x86 64 x86_64 GNU/Linux
OS: CentOS Linux release 7.9.2009 (Core)
GCC: 10.3.0
GNU make: 4.3
using these cmds:
../configure --prefix=$HOME/my_glibc ......
make -j 8
make install # similar to 'make check' but executes actions
I encountered errors:
Inconsistency detected by ld.so: get-dynamic-info.h: 143: elf_get_dynamic_info: Assertion `info[DT_RPATH] == NULL' failed!
Inconsistency detected by ld.so: get-dynamic-info.h: 142: elf_get_dynamic_info: Assertion `info[DT_RUNPATH] == NULL' failed!
If you disregard the error and proceed with the build process as outlined in this link, it will result in:
segment fault
May this can help you.
Acorrding to:
https://github.com/NixOS/patchelf
https://github.com/orgs/Homebrew/discussions/2011
Segmentation fault after installing the glibc 2.7