pespin submitted this change.
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
---
M debian-bookworm-erlang/Dockerfile
M debian-bullseye-erlang/Dockerfile
2 files changed, 24 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 @@
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 && \
apt-get -y install \
libpcap-dev \
+ libsctp1 \
&& \
apt-get clean
To view, visit change 34200. To unsubscribe, or for help writing mail filters, visit settings.