[erlang-questions] static build of Erlang with openssl ?

51 views
Skip to first unread message

Benoit Chesneau

unread,
Nov 3, 2012, 4:03:56 AM11/3/12
to erlang-q...@erlang.org
Is there a way to build Erlang with openssl statically on unixes ?

- benoît

Dmitry Kolesnikov

unread,
Nov 3, 2012, 5:42:52 AM11/3/12
to Benoit Chesneau, erlang-q...@erlang.org
Hello,

--disable-dynamic-ssl-lib make a trick

see ./configure --help for details

- Dmitry

On Nov 3, 2012, at 10:03 AM, Benoit Chesneau wrote:

> Is there a way to build Erlang with openssl statically on unixes ?
>
> - benoît
> _______________________________________________
> erlang-questions mailing list
> erlang-q...@erlang.org
> http://erlang.org/mailman/listinfo/erlang-questions

_______________________________________________
erlang-questions mailing list
erlang-q...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions

Max Lapshin

unread,
Nov 3, 2012, 8:55:39 AM11/3/12
to Dmitry Kolesnikov, erlang-q...@erlang.org
But don't forget that you should compile OpenSSL by yourself.

Jared Morrow

unread,
Nov 3, 2012, 6:31:19 PM11/3/12
to Benoit Chesneau, erlang-q...@erlang.org
You'll want to do something like:

% openssl

./Configure --prefix=/usr/local/ssl --openssldir=/usr/local/ssl shared
make && make install

% erlang

./configure --with-ssl=/usr/local/ssl/ --disable-dynamic-ssl-lib

-Jared

On Sat, Nov 3, 2012 at 2:03 AM, Benoit Chesneau <bche...@gmail.com> wrote:
Is there a way to build Erlang with openssl statically on unixes ?

- benoît

Reply all
Reply to author
Forward
0 new messages