My linux machine is x86_64-redhat-linux.
However I am using another arm tool chain aarch64-linux-gnu-gcc on this machine to build(I don't need to run what I build on this machine, just build, so it should be good to use arm toolchain to build)
I receive the following error:
aarch64-linux-gnu-gcc: /lib64/libc.so.6:
version `GLIBC_2.14' not found (required by aarch64-linux-gnu-gcc)
So the current default shared library path points to /lib64/libc.so.6, I don't want to update it since I am not the only user of this machine, how can I use my own libc.so.6, can I redirect the search path to another directory?
ldd --version
on the redhat machine??