Bad cpu type in executable

After downloading the Mac OS Catalina update, I have been getting the error message “zsh: bad cpu type in executable” while using JGrasp and photorec on terminal. I shell has already been changed from bash to zsh, but I still get these errors while compiling/running programs. How can I fix this?

MacBook Pro 13", macOS 10.15

Posted on Nov 30, 2019 12:34 PM

Reply
3 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Bad cpu type in executable

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.