aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2023-08-24 19:08:46 +0200
committerpespin <pespin@sysmocom.de>2023-08-28 12:24:45 +0000
commit6e7628989945ee76bd370282dc2ebaff8ee99e00 (patch)
treeb77602d6194e107791979562f09d5523638d1d8a
parent2e45b75e9d070c4bd46963467d63f641bad4a6dc (diff)
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
-rw-r--r--debian-bookworm-erlang/Dockerfile1
-rw-r--r--debian-bullseye-erlang/Dockerfile1
2 files changed, 2 insertions, 0 deletions
diff --git a/debian-bookworm-erlang/Dockerfile b/debian-bookworm-erlang/Dockerfile
index 0c13fd5..811500e 100644
--- a/debian-bookworm-erlang/Dockerfile
+++ b/debian-bookworm-erlang/Dockerfile
@@ -46,6 +46,7 @@ RUN set -x && \
apt-get update && \
apt-get install -y --no-install-recommends \
libpcap-dev \
+ libsctp1 \
&& \
apt-get clean
diff --git a/debian-bullseye-erlang/Dockerfile b/debian-bullseye-erlang/Dockerfile
index 9477ebc..9a90c0c 100644
--- a/debian-bullseye-erlang/Dockerfile
+++ b/debian-bullseye-erlang/Dockerfile
@@ -37,6 +37,7 @@ RUN apt-get update && \
RUN apt-get update && \
apt-get -y install \
libpcap-dev \
+ libsctp1 \
&& \
apt-get clean