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
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




_______________________________________________
nginx mailing list
[hidden email]
http://mailman.nginx.org/mailman/listinfo/nginx