zlib.h: No such file or directory
Closed this issue · 3 comments
zhoudreames commented
I got a error when I have runned make,below this error.
gcc -g -Wall -D VERBOSE -O2 -D PRINT_COVERAGE -c -o paf.o paf.c
paf.c:1:10: fatal error: zlib.h: No such file or directory
#include <zlib.h>
^~~~~~~~
compilation terminated.
make: *** [paf.o] Error 1
my zlib.h path is /usr/include/zlib.h,but i dont know how to fix this problem,i hope you can help me ,thank you!!
zhoudreames commented
dfguan commented
Hi, not sure which OS you are using, but for centos you should install
zlib-devel, for ubuntu zlib1g-dev. Best, Dengfeng.
…On Sat, Dec 12, 2020 at 11:44 AM zhoudreames ***@***.***> wrote:
@dfguan <https://github.com/dfguan>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABORPAAXR6J5ATBXFX3FGT3SULRKZANCNFSM4UXUQA2A>
.
zhoudreames commented
thanks~ solved