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

2022-03-30 Thread Fabiano Furtado Pessoa Coelho
Hi Now I realize what I was doing wrong. It worked! Sorry to bother you with this e-mail and thanks again for the help. Your experience helped me a lot. On Tue, Mar 29, 2022 at 4:03 PM Fabiano Furtado Pessoa Coelho wrote: > > Hi Maxim... > > I have a ./configure error with two or more param

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

2022-03-29 Thread Jim Popovitch via nginx
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Tue, 2022-03-29 at 16:03 -0300, Fabiano Furtado Pessoa Coelho wrote: > Hi Maxim... > > I have a ./configure error with two or more parameters on > "--with-zlib-opt=...". > > I've tried: >   * --with-zlib-opt=-O2 -fPIC >   * --with-zlib-opt="-O2

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

2022-03-29 Thread Fabiano Furtado Pessoa Coelho
Hi Maxim... I have a ./configure error with two or more parameters on "--with-zlib-opt=...". I've tried: * --with-zlib-opt=-O2 -fPIC * --with-zlib-opt="-O2 -fPIC" * --with-zlib-opt='-O2 -fPIC' * --with-zlib-opt=-O2-fPIC * --with-zlib-opt=\-O2\ \-fPIC ... and none of these syntax works.

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

2022-03-29 Thread Maxim Dounin
Hello! On Mon, Mar 28, 2022 at 08:25:47PM -0300, Fabiano Furtado Pessoa Coelho wrote: > 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" > au

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