Macos下asciiquarium出现.cursesboot.c: loadable library and perl binaries are mismatched (got handshake key 0xfc00080, needed 0xc700080)的问题解决

 
Category: Tips

问题

m1Mac brew

一个终端养鱼程序(Perl):ASCIIQuarium, https://github.com/cmatsuoka/asciiquarium;

在使用brew安装之后报错了:

./CursesBoot.c: loadable library and perl binaries are mismatched (got handshake key 0xfc00080, needed 0xc700080)

然后网上找一圈也没有解决方案, 后来发现重新从源构建就好了:

brew reinstall asciiquarium --build-from-source

完美:

截屏2022-12-14 18.35.03