<div dir="ltr">It is possible that the ESL build was done on a machine without SCTP support, or the --enable-sctp flags were not supplied. One option is to build from source.<br><div class="gmail_extra"><br></div><div class="gmail_extra">
cheers<br></div><div class="gmail_extra">Chandru<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 14 April 2014 21:22, Artem Teslenko <span dir="ltr"><<a href="mailto:ates@ipv6.dp.ua" target="_blank">ates@ipv6.dp.ua</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>Yes, both packages are installed:<div class=""><br>
<br>
$ rpm -qa | grep sctp<br></div>
lksctp-tools-devel-1.0.10-7.el6.x86_64<br>
lksctp-tools-1.0.10-7.el6.x86_64<div><div class="h5"><br>
<br>
<br>
On 04/14/2014 11:11 PM, Chandru wrote:<br>
</div></div></div><div><div class="h5">
<blockquote type="cite">
<div dir="ltr">
<div>Do you have the lksctp-tools and lksctp-tools-devel
packages installed?<br>
<br>
</div>
cheers<br>
Chandru<br>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On 14 April 2014 20:54, Artem Teslenko
<span dir="ltr"><<a href="mailto:ates@ipv6.dp.ua" target="_blank">ates@ipv6.dp.ua</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
Can't make SCTP work on my system with esl-erlang installed:<br>
<br>
$ lsb_release -a<br>
LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch<br>
Distributor ID: RedHatEnterpriseServer<br>
Description: Red Hat Enterprise Linux Server release 6.5
(Santiago)<br>
Release: 6.5<br>
Codename: Santiago<br>
<br>
$ rpm -qa |grep erlang<br>
esl-erlang-R16B03-4.x86_64<br>
<br>
$ rpm -qa |grep sctp<br>
lksctp-tools-1.0.10-7.el6.x86_64<br>
<br>
$ lsmod |grep sctp<br>
sctp 198775 2<br>
<br>
$ erl<br>
Erlang R16B03-1 (erts-5.10.4) [source] [64-bit] [smp:2:2]
[async-threads:10] [hipe] [kernel-poll:false]<br>
<br>
Eshell V5.10.4 (abort with ^G)<br>
1> gen_sctp:open().<br>
{error,eprotonosupport}<br>
<br>
Is esl-erlang compiled without SCTP support or is something
wrong with my system?<br>
<br>
Thanks.<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div></div></div>
</blockquote></div><br></div></div>