[openssl-3.0.14]# ./config --prefix=/usr/local/openssl --openssldir=/usr/local/openssl shared zlib
Can't locate IPC/Cmd.pm in @INC (@INC contains: /soft/openssl-3.0.14/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 . /soft/openssl-3.0.14/external/perl/Text-Template-1.56/lib) at /soft/openssl-3.0.14/util/perl/OpenSSL/config.pm line 19.
BEGIN failed--compilation aborted at /soft/openssl-3.0.14/util/perl/OpenSSL/config.pm line 19.
Compilation failed in require at /soft/openssl-3.0.14/Configure line 23.
BEGIN failed--compilation aborted at /soft/openssl-3.0.14/Configure line 23.
解决方法:
yum -y install perl-IPC-Cmd