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