New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ubuntu 22.04 LTS install erlang error #247
Comments
I have the exact same issue here. |
This is not an ASDF bug - it is an incompatibility between Erlang 24.1 and Ubuntu 22.04. I was building with 24.1.5 and it failed - I tried with kerl and it also failed. 24.3.3 works with asdf and Ubuntu 22.04 just fine. Earlier versions may also work, but clearly somewhere between 24.1.5 and 24.3.3 they fixed an incompatibility with the latest Ubuntu LTS. |
Ubuntu 22.04 used now openssl 3 instead of openssl1 some openssl 1 functions are now deprecated The lib/crypto/configure has been modified on the ubuntu build to test the openssl version if openssl version is 3 the deprecated_warnings is set to no in the ubuntu 22.04 source code for erlang-crypto
doing is not enough because the crypto lib is not longer compiled
|
one workaround
|
Thanks for the detailed explanation and workarounds. Very helpful. |
This works! |
There are some issues due to certificate expiry in the zip - Instead of use |
Closing this issue as @jbdamiano's workaround if what people should use if 24.1 is needed on Ubuntu 22.04. This is not a problem with asdf-erlang itself. |
For me to install 24.3.3 on Ubuntu 22.10 I had to install the following packages first:
and then
Hopefully that helps someone. |
Combining and adapting @tjstlekr's and @jbdamiano's workarounds to use the latest stable 1.1.1 code instead of master: cd /usr/local/src/
sudo git clone https://github.com/openssl/openssl.git -b OpenSSL_1_1_1-stable openssl-1.1.1m
cd openssl-1.1.1m
sudo ./config --prefix=/usr/local/ssl --openssldir=/usr/local/ssl shared zlib
sudo make
sudo make test
sudo make install_sw
export KERL_CONFIGURE_OPTIONS="-with-ssl=/usr/local/ssl"
asdf install erlang 23.3.3 the |
I am still getting this error : asdf_24.3.3 is not a kerl-managed Erlang/OTP installation |
Hi
I'm using the ubuntu 22.04LTS, try to install erlang 24.1 via asdf.
command:
got error:
I finished the preapre work from ubuntu 20.04 suggestions (from our README), I'm not sure if I can use the same way to install it on ubuntu22.04, can I fix it somehow or just waiting the updates?
Thanks!
The text was updated successfully, but these errors were encountered: