mytop on big sur stopped working after os update

Viewed 311

After updating to macos big sur 11.3 (20E232) I can no longer launch mytop from the terminal.

When launching mytop - which is installed via brew - I get this error:

> 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

So far to attempt to fix I have run:

brew update
xcode-select --install (wait 5 hours)
brew upgrade
brew remove mytop; brew install mytop

Still haven't resolved it.

I imagine this would a number of binaries. Has anyone seen similar and/or have a fix ?

1 Answers

Solution : brew reinstall -s mytop

Details from 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.

Related