[erlang-questions] SCTP support

Steve Vinoski vinoski@REDACTED
Sun Sep 22 23:47:42 CEST 2013


On Sun, Sep 22, 2013 at 5:24 PM, Sharmila Pillai
<pillai.sharmila@REDACTED>wrote:

> Hi all,
>
> I am trying to get SCTP to work on Linux.
>
> > uname -a
> Linux linux 3.0.82-0.7-default #1 SMP Thu Jun 27 13:19:18 UTC 2013
> (6efde93) x86_64 x86_64 x86_64 GNU/Linux
>
> lksctp-tools is installed.
>
> > rpm -qa | grep sctp
> lksctp-tools-1.0.9-1.22
>
> SCTP is supported.
>
> > checksctp
> SCTP supported
>
> But when I try to use SCTP, I get eprotonosupport.
>
> > ~/software/erlang/R16B02/bin/erl
> Erlang R16B02 (erts-5.10.3) [source] [64-bit] [async-threads:10] [hipe]
> [kernel-poll:false]
>
> Eshell V5.10.3  (abort with ^G)
> 1>
> 1> gen_sctp:open().
> {error,eprotonosupport}
>
> Help please!
>

After installing SCTP support on Linux, are you sure you reran configure
for your Erlang/OTP build and then recompiled?

On ubuntu 12.04 I have SCTP working just fine with Erlang R16B02, with
these packages installed:

$ dpkg --get-selections | grep sctp
libsctp-dev install
libsctp1 install
lksctp-tools install

Perhaps you're missing the dev package?

--steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130922/cde56777/attachment.htm>


More information about the erlang-questions mailing list