Re: NGINX "--with-zlib=..." linker error

2022-03-28 Thread Fabiano Furtado Pessoa Coelho
Thank you, Maxim! It worked Amazing Just one more thing I was looking in the source code and found it: ... auto/cc/gcc:131:if [ ".$ZLIB_OPT" = "." ]; then auto/cc/gcc:132:ZLIB_OPT="-O2 -fomit-frame-pointer $PIPE $CPU_OPT" auto/cc/gcc-133-else auto/cc/gcc:134:ZLIB_OPT="$ZLIB_O

Re: NGINX "--with-zlib=..." linker error

2022-03-28 Thread Maxim Dounin
Hello! On Mon, Mar 28, 2022 at 04:32:05PM -0300, Fabiano Furtado Pessoa Coelho wrote: > Hi... > > I'm using > https://nginx.org/packages/rhel/8/SRPMS/nginx-1.20.2-1.el8.ngx.src.rpm > to compile NGINX to RHEL 8.5, with "--with-openssl=/openssl_1_1_1n" > parameter in the "%define BASE_CONFIGURE_A

Re: NGINX "--with-zlib=..." linker error

2022-03-28 Thread Fabiano Furtado Pessoa Coelho
Hi, Jeffrey! The official documentation at http://nginx.org/en/docs/configure.html said: --with-zlib=path sets the path to the sources of the zlib library. The library distribution (version 1.1.3 — 1.2.11) needs to be downloaded from the zlib site and extracted. The rest is done by nginx’s ./c

Re: NGINX "--with-zlib=..." linker error

2022-03-28 Thread Jeffrey Walton
On Mon, Mar 28, 2022 at 3:35 PM Fabiano Furtado Pessoa Coelho wrote: > > Hi... > > I'm using > https://nginx.org/packages/rhel/8/SRPMS/nginx-1.20.2-1.el8.ngx.src.rpm > to compile NGINX to RHEL 8.5, with "--with-openssl=/openssl_1_1_1n" > parameter in the "%define BASE_CONFIGURE_ARGS" .SPEC file,

NGINX "--with-zlib=..." linker error

2022-03-28 Thread Fabiano Furtado Pessoa Coelho
Hi... I'm using https://nginx.org/packages/rhel/8/SRPMS/nginx-1.20.2-1.el8.ngx.src.rpm to compile NGINX to RHEL 8.5, with "--with-openssl=/openssl_1_1_1n" parameter in the "%define BASE_CONFIGURE_ARGS" .SPEC file, and it works fine. The NGINX package is compiled without errors. Now I want to add