Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

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
Question marked as Best reply

Posted on Nov 30, 2019 6:33 PM

At the risk of repeating myself, find and expunge the 32-bit code. Ensure you’ve followed the install sequence, particularly around installing testdisk, and read the release notes: https://www.cgsecurity.org/wiki/TestDisk_Download

3 replies

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 ID.