I ran into a problem when I compiled haproxy 2.4.8.  I had installed openssl 3.0.1-dev from source between installing haproxy 2.4.7 and 2.4.8, and haproxy's build system picked up the newer openssl instead of the one packaged by Ubuntu.

I tried adding SSL_INC and SSL_LIB to my make command:

    make TARGET=linux-glibc \
      USE_PCRE2_JIT=1 \
      USE_OPENSSL=1 \
      SSL_INC=/usr/include/openssl \
      SSL_LIB=/usr/lib/x86_64-linux-gnu \
      USE_ZLIB=1 \
      USE_SYSTEMD=1 \
      CPU=native

This didn't work.  The build continued to find openssl in /usr/local, which caused it to fail because haproxy doesn't support openssl 3.x yet.  Is there any way to get this working other than uninstalling the custom openssl?  Uninstalling the custom openssl does work, but I would prefer to not take that step.

Thanks,
Shawn


Reply via email to