Using custom glibc for compilation

Mahmood Naderan mahmood.nt at gmail.com
Wed May 27 11:44:33 UTC 2020


Hi
I want to install nginx with a custom glibc version. I have installed that
from source and for nginx, I tried

$ GLIBCDIR=/opt/glibc-2.23-install
$ ./configure --prefix=/home/mahmood/kernel-4.19.119/glibc223/install
--with-ld-opt="-Wl,--emit-relocs"
$ make && make install


However, when I check, no related files in /opt/glibc-2.23-instal are used.

$ 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 idea about that?

Regards,
Mahmood
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20200527/253fce10/attachment.htm>


More information about the nginx mailing list