Hello,

 

I’m getting the following error when compiling kamailio 4.1.

 

CC (gcc) [M gzcompress.so]              gzcompress_mod.o

gzcompress_mod.c:42:18: fatal error: zlib.h: No such file or directory

compilation terminated.

make[1]: *** [gzcompress_mod.o] Error 1

make: *** [modules] Error 1

 

The modules/gzcompress directory only contains the following items:

doc/

gzcompress_mod.c

makecfg.lst

Makefile

README

 

I installed zlibc, but that didn’t work either.

 

Any ideas?