Using non-system glibc
Mahmood Naderan
nt_mahmood@yahoo.com
Wed May 27 12:53:13 GMT 2020
Hi
How can I use a custom glibc instead of the default system version?
I tried nginx with:
$ GLIBCDIR=/opt/glibc-2.23-install
$ ./configure --with-ld-opt="-Wl,--emit-relocs"
$ make && make install
But the final binary has no sign of my glibc installation
$ ldd install/sbin/nginx
linux-vdso.so.1 => (0x00007ffc07d43000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f0a8d2f3000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f0a8d0d6000)
libcrypt.so.1 => /lib/x86_64-linux-gnu/libcrypt.so.1 (0x00007f0a8ce9e000)
libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f0a8cc2e000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f0a8ca14000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f0a8c64a000)
/lib64/ld-linux-x86-64.so.2 (0x00007f0a8d4f7000)
Any guess?
Regards,
Mahmood
More information about the Libc-help
mailing list