質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.50%
OpenSSL

OpenSSLはSSL/TLSのプロトコルと一般的な暗号のライブラリを導入するオープンソースのソフトウェアのツールキットです。

Q&A

解決済

1回答

2504閲覧

brew install openssl でエラー

rararuri

総合スコア11

OpenSSL

OpenSSLはSSL/TLSのプロトコルと一般的な暗号のライブラリを導入するオープンソースのソフトウェアのツールキットです。

0グッド

0クリップ

投稿2021/11/30 08:15

要旨

エラーの解決策を教えてください。

環境

Amazon Linux2
Homebrew 3.3.6

#ログ

ec2-user:~/environment $ brew install openssl Warning: Building openssl@3 from source as the bottle needs: - HOMEBREW_CELLAR: /home/linuxbrew/.linuxbrew/Cellar (yours is /home/ec2-user/.linuxbrew/Cellar) - HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew (yours is /home/ec2-user/.linuxbrew) ==> Downloading https://cpan.metacpan.org/authors/id/L/LE/LEONT/Test-Harness-3.42.tar. Already downloaded: /home/ec2-user/.cache/Homebrew/downloads/4a5728e2132a470084886ad6e6278c6b23584e314ee60dcd57ea679202d5da4a--Test-Harness-3.42.tar.gz ==> Downloading https://cpan.metacpan.org/authors/id/E/EX/EXODIST/Test-Simple-1.302186 ######################################################################## 100.0% ==> Downloading https://cpan.metacpan.org/authors/id/B/BI/BINGOS/ExtUtils-MakeMaker-7. ####################==> Downloading https://www.openssl.org/source/openssl-3.0.0.tar.gz ######################################################################## 100.0% ==> perl Makefile.PL INSTALL_BASE=/home/ec2-user/.linuxbrew/Cellar/openssl@3/3.0.0_1/l ==> make PERL5LIB=/home/ec2-user/.linuxbrew/Cellar/openssl@3/3.0.0_1/libexec/lib/perl5 ==> make install ==> perl Makefile.PL INSTALL_BASE=/home/ec2-user/.linuxbrew/Cellar/openssl@3/3.0.0_1/l ==> make PERL5LIB=/home/ec2-user/.linuxbrew/Cellar/openssl@3/3.0.0_1/libexec/lib/perl5 ==> make install ==> perl Makefile.PL INSTALL_BASE=/home/ec2-user/.linuxbrew/Cellar/openssl@3/3.0.0_1/l ==> make PERL5LIB=/home/ec2-user/.linuxbrew/Cellar/openssl@3/3.0.0_1/libexec/lib/perl5 ==> make install ==> perl ./Configure --prefix=/home/ec2-user/.linuxbrew/Cellar/openssl@3/3.0.0_1 --ope Last 15 lines from /home/ec2-user/.cache/Homebrew/Logs/openssl@3/10.perl: perl ./Configure --prefix=/home/ec2-user/.linuxbrew/Cellar/openssl@3/3.0.0_1 --openssldir=/home/ec2-user/.linuxbrew/etc/openssl@3 --libdir=/home/ec2-user/.linuxbrew/Cellar/openssl@3/3.0.0_1/lib no-ssl3 no-ssl3-method no-zlib linux-x86_64 Can't locate IPC/Cmd.pm in @INC (@INC contains: /tmp/opensslA3-20211130-2757-ms17nt/openssl-3.0.0/util/perl /home/ec2-user/.linuxbrew/Cellar/openssl@3/3.0.0_1/libexec/lib/perl5/x86_64-linux-thread-multi /home/ec2-user/.linuxbrew/Cellar/openssl@3/3.0.0_1/libexec/lib/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /tmp/opensslA3-20211130-2757-ms17nt/openssl-3.0.0/external/perl/Text-Template-1.56/lib) at /tmp/opensslA3-20211130-2757-ms17nt/openssl-3.0.0/util/perl/OpenSSL/config.pm line 18. BEGIN failed--compilation aborted at /tmp/opensslA3-20211130-2757-ms17nt/openssl-3.0.0/util/perl/OpenSSL/config.pm line 18. Compilation failed in require at ./Configure line 23. BEGIN failed--compilation aborted at ./Configure line 23. READ THIS: https://docs.brew.sh/Troubleshooting These open issues may also help: openssl@1.1: keg only on all platforms https://github.com/Homebrew/homebrew-core/pull/85812 curl + recursive dependen{cies,ts}: switch to `openssl@3` https://github.com/Homebrew/homebrew-core/pull/85775

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

回答1

0

自己解決

rbenvでRuby3.0.0をインストールできないことが事の始まりだったのですが、https://hotoolong.hatenablog.com/entry/2020/09/29/195752
上の記事を参考に問題を解決しました。

投稿2021/11/30 12:28

rararuri

総合スコア11

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.50%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問