Welcome! Log In Create A New Profile

Advanced

Re: How to compile Nginx with zlib-ng

Sergey A. Osokin
March 22, 2023 10:50AM
Hi Lance,

thanks for your question.

Since this is more or less related to nginx development or
new features I'd suggest to use nginx-devel mailing list
instead, thank you.

On Tue, Mar 21, 2023 at 04:06:00PM -0500, Lance Dockins wrote:
>
> Has anyone had success compiling Nginx with zlib-ng instead of
> default Zlib versions?  I seem to be able to compile Nginx with
> standard Zlib and various other Zlib libraries (e.g. Intel
> optimized or Cloudflare) but compiling with Zlib-NG always fails.

NGINX builds well with zlib. In case of new functionality, like
an ability to build with zlib-ng, the source code requires some
patches.

> I’ve tried passing in various options via with-zlib-opt to try
> to include the —zlib-compat flag for the Zlib NG configure
> directives but no matter what syntax I use, it seems like it
> always fails (whether I have that param or not).  Perhaps I’m
> just struggling with the proper use of Zlib NG in an Nginx
> compile context.
>
> If Nginx should compile with Zlib NG, is there any documentation
> on what params to use in the Nginx compile command to get it to
> work?

Some ideas can be found inside the zlib-ng project on GH, not
sure is that working solution or not, so you can try.

I'd also recommend to raise a request in https://trac.nginx.org/nginx/
about this feature request and provide patches for source code
and documentation.

Thank you.

--
Sergey A. Osokin
_______________________________________________
nginx mailing list
nginx@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

How to compile Nginx with zlib-ng

Lance Dockins March 21, 2023 05:08PM

Re: How to compile Nginx with zlib-ng

Sergey A. Osokin March 22, 2023 10:50AM

Re: How to compile Nginx with zlib-ng

Richard Stanway via nginx March 22, 2023 06:30PM

Re: How to compile Nginx with zlib-ng

Lance Dockins March 22, 2023 11:18PM

Re: How to compile Nginx with zlib-ng

Richard Stanway via nginx March 23, 2023 04:34PM

Re: How to compile Nginx with zlib-ng

Maxim Dounin March 23, 2023 10:08PM

Re: How to compile Nginx with zlib-ng

Richard Stanway via nginx March 24, 2023 10:34AM

Re: How to compile Nginx with zlib-ng

Sergey Kandaurov March 27, 2023 01:58PM

Re: How to compile Nginx with zlib-ng

Maxim Dounin March 27, 2023 02:30PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 126
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