ListUtil.c:可加载库和perl二进制文件不匹配(获得握手密钥0xdb00080,需要0xdb80080) [英] ListUtil.c: loadable library and perl binaries are mismatched (got handshake key 0xdb00080, needed 0xdb80080)

查看:1227
本文介绍了ListUtil.c:可加载库和perl二进制文件不匹配(获得握手密钥0xdb00080,需要0xdb80080)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于某种原因,每当我运行任何Perl模块(例如cpanm)时,我都会收到以下响应:

For some reason, whenever I run any Perl module (like cpanm), I've been getting this response:

ListUtil.c: loadable library and perl binaries are mismatched (got         
handshake key 0xdb00080, needed 0xdb80080)

我不确定为什么会这样.似乎没有任何其他的堆栈跟踪,即使有很多错误报告和关于此错误的问题,我也找不到解决方案.我正在运行Ubuntu 17.04.

I'm not sure why this is happening. There doesn't seem to be any additional stacktrace, and even though there have been numerous bug reports and questions on this error, I was unable to find a solution. I'm running Ubuntu 17.04.

我正在运行Ubuntu附带的Perl的默认安装.

I'm running the default installation of Perl that ships with Ubuntu.

推荐答案

当在正式包旁边单独安装perl或perl模块时,可能会发生这种情况.环境变量可用于切换到其他Perl安装.

This may happen when perl or perl modules are installed separately along side the official packages. Environment variable can be used to switch to a different perl installation.

要确定是否存在这种情况,请运行:

To find out if that is the case run:

env | grep PERL

在输出中包含PERL5LIBPERL_LOCAL_LIB_ROOT可能会导致此问题.尝试取消设置环境变量,然后将其从您的~/.bashrc文件或等效的Shell rc文件中删除.

Having PERL5LIB or PERL_LOCAL_LIB_ROOT in the output might cause the issue. Try unsetting the environment variables and remove them from your ~/.bashrc file or equivalent shell rc file.

这篇关于ListUtil.c:可加载库和perl二进制文件不匹配(获得握手密钥0xdb00080,需要0xdb80080)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆