更新到 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
到目前为止,我已经尝试修复:
brew update
xcode-select --install (wait 5 hours)
brew upgrade
brew remove mytop; brew install mytop
还没解决。
我想这将是许多二进制文件。有没有人见过类似的和/或有修复?
最佳答案
解决方案:brew reinstall -s mytop
详细信息来自github conversation
This was caused by Big Sur 11.3 switching the default perl to 5.30. It used to be 5.28, and that's the version that mytop expects to find at /usr/bin/perl. See Homebrew/brew#10127.
In the meantime, try brew reinstall -s mytop to rebuild mytop against the new version of system perl.
关于perl - 操作系统更新后,big sur 上的 mytop 停止工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67308565/