我使用以下命令将 glibc 制作并安装到一个单独的目录中:
[root@yf-sdc-cf06 glibc]# pwd
/home/work/glibc
[root@yf-sdc-cf06 glibc]# /home/work/glibc-2.12.2/configure --prefix=/home/work/glibc
[root@yf-sdc-cf06 glibc]# make
[root@yf-sdc-cf06 glibc]# make install
But
[root@yf-sdc-cf06 glibc]# ldd lib/libc.so.6
/home/work/glibc/lib/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x00007fe7f6aba000)
linux-vdso.so.1 => (0x00007fff6a7d4000)
why is the lib/libc.so.6 linked into /lib64/ld-linux-x86-64.so.2 (the system's so) instead of the ld-linux-x86-64.so.2 that is generated by the install?
Any ideas? Thank you!