簡體   English   中英

無法通過 asdf (Ubuntu 18.04.1) 使用 openssl 安裝 Erlang

[英]Cannot Install Erlang with openssl via asdf (Ubuntu 18.04.1)

我在 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_CONFIGURATION_OPTIONS='--with-ssl=/usr/include/openssl'配置,所以我嘗試運行KERL_CONFIGURATION_OPTIONS='--with-ssl=/usr/include/openssl'但我仍然收到相同的消息。任何想法如何解決這個問題?

在 Ubuntu 上使用 asdf 安裝時,除非您已經自定義了某些內容,否則您不需要指定任何自定義KERL_CONFIGURATION_OPTIONS標志。 幫助您驗證 OpenSSL 安裝的幾個命令是:

# 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

如果您看到安裝了多個 OpenSSL,您可能會遇到問題。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM