Welcome! Log In Create A New Profile

Advanced

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

Fabiano Furtado Pessoa Coelho
March 30, 2022 09:28AM
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 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.
>
> It works with only one parameter and my solution is to modify the
> auto/cc/gcc file.
>
> Thinking about a possible RHEL .spec file bug, I also tried in Arch
> Linux, modifying PKGBUILD file and got the same issue.
>
> Thanks again for your help.
>
> On Tue, Mar 29, 2022 at 9:05 AM Maxim Dounin wrote:
> > ...
> > > Do I need to specify "--with-zlib-opt=-fPIC -O2 -fomit-frame-pointer"
> > > because of these ZLIB_OPT default values?
> >
> > Yes if you want to match optimizations used by nginx by default
> > when building the zlib library. But that's just optimizations, so
> > it's completely optional.
_______________________________________________
nginx mailing list -- nginx@nginx.org
To unsubscribe send an email to nginx-leave@nginx.org
Subject Author Posted

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

Fabiano Furtado Pessoa Coelho March 28, 2022 03:36PM

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

noloader March 28, 2022 03:48PM

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

Fabiano Furtado Pessoa Coelho March 28, 2022 04:06PM

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

Maxim Dounin March 28, 2022 06:10PM

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

Fabiano Furtado Pessoa Coelho March 28, 2022 07:30PM

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

Maxim Dounin March 29, 2022 08:08AM

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

Fabiano Furtado Pessoa Coelho March 29, 2022 03:10PM

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

Jim Popovitch via nginx March 29, 2022 03:30PM

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

Fabiano Furtado Pessoa Coelho March 30, 2022 09:28AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 59
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready