Linux编译OpenSSL时报错
错误如下:
[root@centos7 openssl-3.0.1]# ./config --help Can't locate IPC/Cmd.pm in @INC (@INC contains: /root/Downloads/openssl-3.0.1/util/perl /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /root/Downloads/openssl-3.0.1/external/perl/Text-Template-1.56/lib) at /root/Downloads/openssl-3.0.1/util/perl/OpenSSL/config.pm line 18. BEGIN failed--compilation aborted at /root/Downloads/openssl-3.0.1/util/perl/OpenSSL/config.pm line 18. Compilation failed in require at /root/Downloads/openssl-3.0.1/Configure line 23. BEGIN failed--compilation aborted at /root/Downloads/openssl-3.0.1/Configure line 23.
解决:
yum install -y perl-CPAN