Hi there newbie here,
Just tried to compile haproxy came up with the following error belief that openssl bn.h file is not included in the build or is there something else wrong?
tc@box:~/ext/tmp/haproxy-2.4.3$ sudo make DESTDIR=/home/tc/ext/usr/local TARGET=linux-glibc ARCH=armv8-auto USE_OPENSSL=1 USE_THREAD=1
CC src/slz.o
CC src/ev_poll.o
CC src/ev_epoll.o
CC src/cpuset.o
CC src/ssl_sample.o
In file included from include/haproxy/listener-t.h:37,
from include/haproxy/server-t.h:36,
from include/haproxy/lb_map-t.h:26,
from include/haproxy/backend-t.h:30,
from include/haproxy/proxy-t.h:35,
from include/haproxy/applet-t.h:31,
from include/haproxy/obj_type.h:26,
from src/ssl_sample.c:27:
include/haproxy/openssl-compat.h:5:10: fatal error: openssl/bn.h: No such file or directory
5 | #include <openssl/bn.h>
| ^~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:945: src/ssl_sample.o] Error 1