I am having trouble installing a program from source, the configure stage worked but I am encountering an error during make. I can understand some errors and can usually get by when encountering errors by installing missing software, but I'm stumped here. Can anyone suggest how to solve this problem please? I've put the latest piece of make output below if it helps anyone.
CC rsyslogd-pidfile.o
CCLD rsyslogd
rsyslogd-omfwd.o: In function `doZipFinish':
/home/comp/Downloads/rsyslog-8.4.0/tools/omfwd.c:590: undefined reference to `deflate'
/home/comp/Downloads/rsyslog-8.4.0/tools/omfwd.c:599: undefined reference to `deflateEnd'
rsyslogd-omfwd.o: In function `TCPSendBufCompressed':
/home/comp/Downloads/rsyslog-8.4.0/tools/omfwd.c:545: undefined reference to `deflate'
/home/comp/Downloads/rsyslog-8.4.0/tools/omfwd.c:525: undefined reference to `deflateInit_'
collect2: error: ld returned 1 exit status
make[2]: *** [rsyslogd] Error 1
make[2]: Leaving directory `/home/comp/Downloads/rsyslog-8.4.0/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/comp/Downloads/rsyslog-8.4.0'
make: *** [all] Error 2