debian-*-erlang: Install libsctp to enable sctp support in erlang apps

The current "--enable-sctp" flag when building erlang consists of
supporting SCTP if the libsctp library is found at runtime, by
dynamically linking to it only when SCTP features are requested.

The erlang package in debian only lists libsctp as a Build-Depends, but
it is not installed by default, so apps wishing to use SCTP will fail:
"""
[error] CRASH REPORT Process <0.155.0> with 0 neighbours crashed with reason: no match of right hand value {error,{shutdown,{open,eprotonosupport}
"""

Installing the libsctp library fixes the issue.

Related: OS#5757
Change-Id: I5ca332f9064c16491116608577b3f68379d840e6
changes/00/34200/5
Pau Espin 2023-08-24 19:08:46 +02:00 committed by pespin
parent 2e45b75e9d
commit 6e76289899
2 changed files with 2 additions and 0 deletions

View File

@ -46,6 +46,7 @@ RUN set -x && \
apt-get update && \
apt-get install -y --no-install-recommends \
libpcap-dev \
libsctp1 \
&& \
apt-get clean

View File

@ -37,6 +37,7 @@ RUN apt-get update && \
RUN apt-get update && \
apt-get -y install \
libpcap-dev \
libsctp1 \
&& \
apt-get clean