[WSL - mix deps.get] The application "crypto" could not be found

This was it!

I uninstalled Erlang with ASDF and installed it again. It in fact displayed the disabled applications. What I got was:

Building Erlang/OTP 25.3 (asdf_25.3), please wait...
WARNING: It appears that a required development package 'libssl-dev' is not installed.
WARNING: It appears that a required development package 'libncurses5-dev' is not installed.
APPLICATIONS DISABLED (See: /home/lucas/.asdf/plugins/erlang/kerl-home/builds/asdf_25.3/otp_build_25.3.log)
 * crypto         : No usable OpenSSL found
 * jinterface     : No Java compiler found
 * odbc           : ODBC library - link check failed
 * ssh            : No usable OpenSSL found
 * ssl            : No usable OpenSSL found

I did have OpenSSL installed (OpenSSL 1.1.1f 31 Mar 2020), though.

Anyhow, upon unistalling Erlang with ASDF again, I ran sudo apt-get install libssl-dev. Installed Erlang one last time and everything worked.

Thank you all so much!

2 Likes