Using custom glibc for compilation

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Using custom glibc for compilation

Mahmood Naderan
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 =>  (0x00007ffc07d43000) => /lib/x86_64-linux-gnu/ (0x00007f0a8d2f3000) => /lib/x86_64-linux-gnu/ (0x00007f0a8d0d6000) => /lib/x86_64-linux-gnu/ (0x00007f0a8ce9e000) => /lib/x86_64-linux-gnu/ (0x00007f0a8cc2e000) => /lib/x86_64-linux-gnu/ (0x00007f0a8ca14000) => /lib/x86_64-linux-gnu/ (0x00007f0a8c64a000)
        /lib64/ (0x00007f0a8d4f7000)

Any idea about that?


nginx mailing list
[hidden email]