Page 1 of 1

MacOS Catalina: Error "[Errno 86] Bad CPU type in executable" while running rar_unpack on

Posted: November 18th, 2019, 11:58 am
by nielvrom
Sinds I've updated my mac to macOS Catalina I'm getting this error:
Error "[Errno 86] Bad CPU type in executable" while running rar_unpack on ...
He downloads the files but he doesn't unpack them.

What could be the problem here?

Re: MacOS Catalina: Error "[Errno 86] Bad CPU type in executable" while running rar_unpack on

Posted: November 18th, 2019, 1:02 pm
by sander
Catalina again ... Catalina is quite disruptive ... there is quite something on.

Did you google "[Errno 86] Bad CPU type in executable"?

First Google hit tells me "For future googlers, the problem with convert here is that macOS Catalina dropped support for 32-bit executables."

So did you check the bitness of unrar? To me it looks the unrar and other binaries provied by SABnzbd 2.3.9 are 64bit:

Code: Select all

sander@witte:/media/sander/SABnzbd-2.3.9/SABnzbd.app/Contents/Resources/osx$ find .  -type f | xargs file 
./7zip/7za:          Mach-O 64-bit x86_64 executable, flags:<NOUNDEFS|DYLDLINK|TWOLEVEL|WEAK_DEFINES|BINDS_TO_WEAK|PIE>
./par2/par2-sl64:    Mach-O 64-bit x86_64 executable, flags:<NOUNDEFS|DYLDLINK|TWOLEVEL|BINDS_TO_WEAK>
./unrar/unrar:       Mach-O 64-bit x86_64 executable, flags:<NOUNDEFS|DYLDLINK|TWOLEVEL|WEAK_DEFINES|BINDS_TO_WEAK|PIE>

Re: MacOS Catalina: Error "[Errno 86] Bad CPU type in executable" while running rar_unpack on

Posted: November 19th, 2019, 1:50 am
by safihre
Probably you are not using 2.3.9, I had people confirm that 2.3.9 works well on Catalina: https://www.reddit.com/r/usenet/comment ... _catalina/

Re: MacOS Catalina: Error "[Errno 86] Bad CPU type in executable" while running rar_unpack on

Posted: November 19th, 2019, 6:31 am
by nielvrom
Works with the new version, thanks!