我将 Ubuntu 从 zesty 升级到了仿生。在这个过程中,perl 从 5.24.1 升级到了 5.26.1。现在,当我尝试安装Expect.
Tty.c: loadable library and perl binaries are mismatched
Run Code Online (Sandbox Code Playgroud)
我已经重新安装了 IO::Tty 并且说它已正确安装。还有其他模块报告了类似的错误。
这是失败Expect安装的完整输出。
Fetching http://www.cpan.org/authors/id/J/JA/JACOBY/Expect-1.35.tar.gz
-> OK
Unpacking Expect-1.35.tar.gz
Entering Expect-1.35
Checking configure dependencies from META.json
Checking if you have ExtUtils::MakeMaker 6.64 ... Yes (7.24)
Configuring Expect-1.35
Running Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Expect
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if …Run Code Online (Sandbox Code Playgroud) 更新到 macos big sur 11.3 (20E232) 后,我无法再mytop从终端启动。
当启动 mytop(通过brew 安装)时,我收到此错误:
> mytop
ListUtil.c: loadable library and perl binaries are mismatched (got handshake key 0xc500080, needed 0xc400080)
> which mytop
/usr/local/bin/mytop
> ls -la /usr/local/bin/mytop
lrwxr-xr-x 1 username admin 33 9 Dec 10:24 /usr/local/bin/mytop -> ../Cellar/mytop/1.9.1_8/bin/mytop
Run Code Online (Sandbox Code Playgroud)
到目前为止,为了尝试修复我已经运行:
brew update
xcode-select --install (wait 5 hours)
brew upgrade
brew remove mytop; brew install mytop
Run Code Online (Sandbox Code Playgroud)
还是没有解决。
我想这将是许多二进制文件。有没有人见过类似的和/或有修复?