perl安装Weixin::Client 模块依赖问题

姜俊友
2023-12-01
<pre name="code" class="sql">jrhmpt01:/root# cpan Weixin::Client;

报错信息如下:

t/load_module.t .. 1/1 
#   Failed test 'use Weixin::Client;'
#   at t/load_module.t line 8.
#     Tried to use 'Weixin::Client'.
#     Error:  Can't locate Net/SSL.pm in @INC) at /usr/share/perl5/Net/HTTPS.pm line 19.
# Can't locate IO/Socket/SSL.pm in @INC (@INC contains: /root/.cpan/build/Weixin-Client-2.0-IEWdXw/blib/lib /root/.cpan/build/Weixin-Client-2.0-IEWdXw/blib/arch 

/usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/share/perl5/Net/HTTPS.pm 

line 23.
# Compilation failed in require at /usr/share/perl5/LWP/Protocol/https.pm line 48.
# Compilation failed in require at /root/.cpan/build/Weixin-Client-2.0-IEWdXw/blib/lib/Weixin/Client.pm line 7.
# BEGIN failed--compilation aborted at /root/.cpan/build/Weixin-
 类似资料: