为了账号安全,请及时绑定邮箱和手机立即绑定

pt-query-digest安装报错

老师我在 wget脚本后执行报以下错误是缺少依赖包吗?

[root@localhost ~]# pt-query-digest -h
Can't locate Digest/MD5.pm in @INC (@INC contains: /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/local/bin/pt-query-digest line 2434.
BEGIN failed--compilation aborted at /usr/local/bin/pt-query-digest line 2434.

正在回答

3 回答

先查询sudo yum search perl-Diges,根据你需要的安装相应的包,如sudo yum install perl-Digest-MD5.x86_64

0 回复 有任何疑惑可以回复我~

Can't locate Time/HiRes.pm in @INC (@INC contains: /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 /opt/lampp/bin/pt-query-digest line 3189.

BEGIN failed--compilation aborted at /opt/lampp/bin/pt-query-digest line 3189.


0 回复 有任何疑惑可以回复我~

 安装包perl-Digest-MD5-2.52-3.el7.x86_64.rpm 解决问题

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

pt-query-digest安装报错

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信