Welcome! Log In Create A New Profile

Advanced

Using custom glibc for compilation

Mahmood Naderan
May 27, 2020 07:46AM
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
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Using custom glibc for compilation

Mahmood Naderan May 27, 2020 07:46AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 247
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready