hal,

you are using SSL_INC and SSL_LIB incorrectly: they should ONLY contain paths 
to corresponding include and library directories, not GCC options. So in your 
case they should look like this:

        SSL_LIB=/opt/prod/openssl111c/lib64 \
        SSL_INC=/opt/prod/openssl111c/include \

Hth,
   Bob

-----Original Message-----
From: hal...@xsmail.com <hal...@xsmail.com> 
Sent: Wednesday, July 17, 2019 11:15 AM
To: haproxy@formilux.org
Subject: haproxy 2.0.0 build openssl version mismatch?

I'm building haproxy 2.0.0,

...

setting ssl flags to use that local instance, with rpath, haproxy build has no 
errors

        make V=1 \
        TARGET=linux-glibc \
        USE_SYSTEMD=1 \
        USE_PCRE2=1 \
        USE_PCRE2_JIT=1 \
        USE_OPENSSL=1 \
        SSL_LIB=" -L/opt/prod/openssl111c/lib64 
-Wl,-rpath,/opt/prod/openssl111c/lib64" \       << wrong!
        SSL_INC=" -I/opt/prod/openssl111c/include" \                            
                << wrong!
        USE_THREAD=1 \
        USE_PTHREAD_PSHARED=1 \
        USE_TFO=1 \
        USE_NS=1


hal


Reply via email to