2

我在 Ubuntu 18.04.1 上。每当我尝试通过 asdf 安装任何版本的 erlang 时,都会收到以下消息:

APPLICATIONS DISABLED (See: /home/josh/.asdf/plugins/erlang/kerl-home/builds/asdf_18.0/otp_build_18.0.log)
 * crypto         : No usable OpenSSL found
 * jinterface     : No Java compiler found
 * ssh            : No usable OpenSSL found
 * ssl            : No usable OpenSSL found

我已经确认我已经安装了 openssl (我已经运行了apt-get install libssl-dev。我已经看到其他答案建议使用--with-ssl标志作为 kerl 配置,所以我尝试运行KERL_CONFIGURATION_OPTIONS='--with-ssl=/usr/include/openssl'但我仍然收到相同的消息。任何想法如何解决这个问题?

4

1 回答 1

1

When install with asdf on Ubuntu you should not need to specify any custom KERL_CONFIGURATION_OPTIONS flags unless you've customized something. A couple commands to help you verify your OpenSSL installation are:

# Verify that's it on your path
$ openssl version

# See if you have more than one version installed and on your path
$ type -a openssl

If you see more than one OpenSSL installed you may have a problem.

于 2018-10-30T15:49:31.990 回答