Erlang with openssl using kerl on recent OS X (El Capitan, Sierra) with homebrew

Since I struggle with this every time I have to setup a new machine, here’s the best solution IMHO: https://github.com/kerl/kerl/issues/103#issuecomment-176704372 In short $ cat ~/.kerlrc KERL_CONFIGURE_OPTIONS=”–with-ssl=/usr/local/opt/openssl” CFLAGS=”-DOPENSSL_NO_EC=1″