Ok,
I have just built haproxy with your patches like this: gmake TARGET=freebsd USE_PCRE=1 USE_OPENSSL=1 USE_ZLIB=1 When trying to start haproxy it failed with: [ALERT] 126/160108 (25333) : Unable to allocate SSL session cache. [ALERT] 126/160108 (25333) : Fatal errors found in configuration. /usr/local/etc/rc.d/haproxy: WARNING: failed precmd routine for haproxy Without the patches, haproxy is starting. The Buildinfo looks like this now: ./haproxy -vv HA-Proxy version 1.5-dev24-07c8b24 2014/05/02 Copyright 2000-2014 Willy Tarreau <[email protected]> Build options : TARGET = freebsd CPU = generic CC = gcc CFLAGS = -O2 -g -fno-strict-aliasing OPTIONS = USE_ZLIB=1 USE_OPENSSL=1 USE_PCRE=1 Default settings : maxconn = 2000, bufsize = 16384, maxrewrite = 8192, maxpollevents = 200 Encrypted password support via crypt(3): yes Built with zlib version : 1.2.7 Compression algorithms supported : identity, deflate, gzip Built with OpenSSL version : OpenSSL 1.0.1g 7 Apr 2014 Running on OpenSSL version : OpenSSL 1.0.1g 7 Apr 2014 OpenSSL library supports TLS extensions : yes OpenSSL library supports SNI : yes OpenSSL library supports prefer-server-ciphers : yes Built with PCRE version : 8.34 2013-12-15 PCRE library supports JIT : no (USE_PCRE_JIT not set) Built with transparent proxy support using: IP_BINDANY IPV6_BINDANY Available polling systems : kqueue : pref=300, test result OK poll : pref=200, test result OK select : pref=150, test result OK Total: 3 (3 usable), will use kqueue. Kind regards, John

