![](https://seccdn.libravatar.org/avatar/aea1d8248292e6482742234c5cb514de.jpg?s=120&d=mm&r=g)
On 2023/06/02 05:10, Andrei Borzenkov wrote:
ELF loader (dynamic linker) is part of glibc.
But I had a modified path and ld_path, when I ran: /home/devel/root/usr/bin/gcc-13 --version
gcc: symbol lookup error: /home/devel/root/usr/lib64/libc.so.6: undefined symbol: _dl_audit_symbind_alt, version GLIBC_PRIVATE ----- Any ideas as to why this didn't work?
bor@bor-Latitude-E5450:~$ nm -D /lib64/ld-linux-x86-64.so.2 | grep _dl_audit_symbind_alt 000000000001b750 T _dl_audit_symbind_alt@@GLIBC_PRIVATE bor@bor-Latitude-E5450:~$
You need ELF loader matching your glibc.
I had the glibc that 'gcc-13' depends on, so I would already have had the 'ld' for that glibc in /home/devel/root/usr/bin/ld, no? I.e. when I did 'gcc-13 --version', shouldn't the 'ld' from the glibc package have been picked up/used? FWIW, I'd done a rehash in bash. So still don't see why it didn't work.