> Here is a brief example below of the commands it would run for OpenSSL
> and then HAProxy.
>
> # open ssl
Probably doesn't matter regarding the crash, but:
Why not build openssl statically instead of shipping all those shared
objects in the rpm/directory? Replacing "shared" with "no-shared" will build
openssl will static library archive (.a) instead of .so objects, which you only
need at (haproxy-) build time.
You are using static PCRE as well, I think static openssl would make sense
in your case.
> export CFLAGS=-I/opt/haproxy/include
> export LDFLAGS='-Wl,-rpath,/opt/haproxy/embedded/lib
> -L/opt/haproxy/embedded/lib'
> ./config --prefix=/opt/haproxy/embedded
> --with-zlib-lib=/opt/haproxy/embedded/lib
> --with-zlib-include=/opt/haproxy/embedded/include no-idea no-mdc2
> no-rc5 zlib shared disable-gost -L/opt/haproxy/embedded/lib
> -I/opt/haproxy/embedded/include -Wl,-rpath,/opt/haproxy/embedded/lib
>
> HAProxy
>
> [...]
> make TARGET=linux26 USE_STATIC_PCRE=1 ARCH=x86_64 USE_OPENSSL=1 USE_ZLIB=1
> make install PREFIX=/opt/haproxy/embedded
You are doing "make clean" before invoking this, right?