perl - 操作系统更新后,big sur 上的 mytop 停止工作

标签 perl homebrew macos-big-sur

更新到 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/

相关文章:

node.js - 使用 tmux 时,未获取 nvm

installation - MacOS Big Sur 安装后放大器不工作

mongodb - mongocli 是否支持 Apple M1 芯片的公式 URL?

perl - 是否有一种简单的方法来测试 Moose 属性是否为只读?

linux - 如果换行符是文件中的最后一个字符,如何删除它?

python - 如何在 Homebrew Python 系统上使用 Conda?

java - Eclipse Oxygen 3.a 不工作 MacOS Big Sur java 1.8.0_271

perl - 我可以从 perl 中的进程捕获 STDOUT 写入事件吗?

perl - 如何在 Mac OS X 上安装 Perl 的 DBI,以便 Apache 可以找到它?

opencv - Mac Mavericks上的OpenCV安装问题