[erlang-questions] SCTP support

Sharmila Pillai pillai.sharmila@REDACTED
Tue Sep 24 12:18:02 CEST 2013


Thanks Steve. Yes, I was missing the dev package.
I have now installed the dev package, reconfigured Erlang/OTP with
--enable-sctp and it works.

In case someone needs for suse linux , these are the packages:
> rpm -qa | grep sctp
lksctp-tools-devel-1.0.9-1.22
lksctp-tools-1.0.9-1.22


/Sharmila.


On Sun, Sep 22, 2013 at 10:47 PM, Steve Vinoski <vinoski@REDACTED> wrote:

>
>
>
> 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/20130924/e03c373c/attachment.htm>


More information about the erlang-questions mailing list