-
Notifications
You must be signed in to change notification settings - Fork 123
Home
David Bernheisel edited this page Aug 21, 2020
·
9 revisions
Welcome to the asdf-erlang wiki!
Arch Linux is a rolling release with recent gcc versions. Compiling earlier Erlang versions may require you to compile with an earlier version of gcc.
pacman -Sy gcc9
CC=gcc-9 asdf install erlang 21.3.8.17
Arch Linux ships with openssl 1.1, which is not compatible with Erlang 19.3 and fails during installation. In order to fix that:
sudo pacman -S openssl-1.0
mkdir -p ~/.openssl-1.0
cd ~/.openssl-1.0
ln -sf /usr/lib/openssl-1.0 lib
ln -sf /usr/include/openssl-1.0 include
ERLANG_OPENSSL_PATH=~/.openssl-1.0 asdf install erlang 19.3
Just install the package compat-openssl10-devel
via dnf.