Update Mac - Catalina // zsh: bad CPU type in executable

Using PhotoRec to recover lost data
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Locked
Message
Author
zilli
Posts: 1
Joined: 09 Oct 2019, 16:44

Update Mac - Catalina // zsh: bad CPU type in executable

#1 Post by zilli »

Hi,

I updated my mac and now i'm getting this message in terminal:
zsh: bad CPU type in executable:

Does that mean that photorec is no longer supported? If so; will there be an update for macOS Catalina?

Thank you!

User avatar
cgrenier
Site Admin
Posts: 5432
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: Update Mac - Catalina // zsh: bad CPU type in executable

#2 Post by cgrenier »

You need to install testdisk
- via brew, see https://docs.brew.sh/Installation

Code: Select all

brew install testdisk
- or to compile it as explained in https://www.cgsecurity.org/testdisk.pdf

gururlx
Posts: 1
Joined: 21 Oct 2019, 18:28

Re: Update Mac - Catalina // zsh: bad CPU type in executable

#3 Post by gururlx »

Is there any solution??

I ve installed Homebrew on my iMac runnnig Catalina....but when I Start PhotoRec I also got the same error

zsh: bad CPU type in executable


please help....

Locked