JoeDog / siege

Siege is an http load tester and benchmarking utility
GNU General Public License v3.0
5.92k stars 386 forks source link

[alert] Zip encoding disabled; siege requires zlib support to enable it #84

Closed gdbtek closed 7 years ago

gdbtek commented 7 years ago

on CentOS 7, siege --version return a warning of missing zlib suppport even I already install zlib-devel. Any idea how to resolve this warning?

[root@centos cookbooks]# siege --version
[alert] Zip encoding disabled; siege requires zlib support to enable it: No such file or directory
SIEGE 4.0.2

Copyright (C) 2016 by Jeffrey Fulmer, et al.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE.
JoeDog commented 7 years ago

It would appear that it didn't pick up your zlib at configure time.

Does centos install it in a strange place? Can you find zlib.h on your system?

Run ./configure again and look for zlib in the output to see what's happening

On Tue, Oct 18, 2016 at 1:06 AM, Nam Nguyen notifications@github.com wrote:

on CentOS 7, siege --version return a warning of missing zlib suppport even I already install zlib-devel. Any idea how to resolve this warning?


[alert] Zip encoding disabled; siege requires zlib support to enable it:
No such file or directory
SIEGE 4.0.2

Copyright (C) 2016 by Jeffrey Fulmer, et al.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/JoeDog/siege/issues/84, or mute the thread
https://github.com/notifications/unsubscribe-auth/AFMT5uEW_c2FZBb7VjebU-hdWkutWL_Lks5q1FPqgaJpZM4KZYZl
.
gdbtek commented 7 years ago

run config again and it solved the issue.. Thanks

wikithink commented 5 years ago

sudo ./configure --with-ssl="/usr/local/opt/openssl" --with-zlib="/usr/local/opt/zlib"