内容へ移動
fl8 Wiki
ユーザ用ツール
ログイン
サイト用ツール
検索
ツール
文書の表示
以前のリビジョン
バックリンク
最近の変更
メディアマネージャー
サイトマップ
ログイン
>
最近の変更
メディアマネージャー
サイトマップ
現在位置:
Dokuwiki.fl8.jp
»
50 日記
»
2024
»
01
»
2024.01.16 openssl.soのLoadError
トレース:
50_dialy:2024:01:16
この文書は読取専用です。文書のソースを閲覧することは可能ですが、変更はできません。もし変更したい場合は管理者に連絡してください。
====== 2024.01.16 openssl.soのLoadError ====== AlmaLinux 9.0だと、opnesslが新しくなっていてopenssl 1.1.1をロードできない。 <code> libssl.so.1.1: cannot open shared object file: No such file or directory - /home/matsui/.anyenv/envs/rbenv/versions/2.6.1/lib/ruby/2.6.0/x86_64-linux/openssl.so (LoadError) </code> AlmaLinux 9.0では、openssl 3.0.7が入ってた。 <code> # rpm -qa | grep openssl openssl-libs-3.0.7-24.el9.x86_64 openssl-devel-3.0.7-24.el9.x86_64 openssl-3.0.7-24.el9.x86_64 </code> ===== 対応 ===== ここから、openssl 1.1.1を落としてきて、手動でインストール https://www.openssl.org/source/ <code> # curl -L https://www.openssl.org/source/openssl-1.1.1w.tar.gz # tar zxvf openssl-3.1.1w.tar.gz # cd openssl-3.1.1w # ./Configure # make # make install # ll /usr/local/lib64/libssl.so.1.1 -rwxr-xr-x. 1 root root 689456 Jan 15 22:27 /usr/local/lib64/libssl.so.1.1 </code> ld.so.confに読み込むディレクトリを設定 <code> # cat /etc/ld.so.conf.d/local.conf /usr/local/lib64 </code> 即読み込み <code> # ldconfig </code> === Error === <code> # ./Configure Can't locate FindBin.pm in @INC (you may need to install the FindBin module) (@INC contains: /usr/local/lib64/perl5/5.32 /usr/local/share/perl5/5.32 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at ./Configure line 15. BEGIN failed--compilation aborted at ./Configure line 15. </code> 対応 <code> yum install perl-FindBin.noarch </code> <code> Can't locate File/Compare.pm in @INC (you may need to install the File::Compare module) (@INC contains: . /usr/local/lib64/perl5/5.32 /usr/local/share/perl5/5.32 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at ./util/add-depends.pl line 16. BEGIN failed--compilation aborted at ./util/add-depends.pl line 16. make[1]: *** [Makefile:264: depend] Error 2 make[1]: Leaving directory '/usr/local/src/openssl-1.1.1w' make: *** [Makefile:174: all] Error 2 </code> 対応 <code> yum install perl-File-Compare.noarch </code> <code> yum install perl-File-Compare.noarch </code> {{tag>日記 openssl}}
50_dialy/2024/01/16.txt
· 最終更新: 2024/04/03 09:10 by
matsui
ページ用ツール
文書の表示
以前のリビジョン
バックリンク
文書の先頭へ