How to compile with USE_OPENSSL=1

1.download lastest release
2.make TARGET=linux-glibc USE_OPENSSL=1

3.and then there is some error

my system is debian 11

i saw some solution at centos but not debian

You need the openssl headers to compile and link haproxy against it:

apt install libssl-dev

it’s work

but where can i find these info

i also want USE_ZLIB=1 and USE_SYSTEMD=1

what should i install

THX!

install zlib1g-dev and libsystemd-dev

thx it’s solve!