Skip to content

Commit 259696c

Browse files
sbisciglkai-ion
authored andcommitted
update readme to include zlib dependencies
1 parent a577238 commit 259696c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,15 @@ Debian based Linux distributions example:
5858
RPM based Linux distributions example:
5959
`sudo [yum|dnf|zypper] install libcurl-devel`
6060

61+
Zlib is optional and only required if you need gzip/deflate compression
62+
support (for example, when your libcurl and workloads use HTTP content-encoding).
63+
If your libcurl is already built with zlib, you typically don't need to install
64+
zlib headers separately unless your build complains about missing zlib.
65+
66+
Install if needed:
67+
- Debian/Ubuntu: `sudo apt-get install zlib1g-dev`
68+
- RPM-based: `sudo [yum|dnf|zypper] install zlib-devel`
69+
6170
### Building for MacOS
6271
6372
Building for macOS is largely the same as building on a *nix system except for how the system consumes the curl dependency and compilers.

0 commit comments

Comments
 (0)