codexctl icon indicating copy to clipboard operation
codexctl copied to clipboard

Mac build is arm only

Open lemonlemming opened this issue 1 year ago • 5 comments

trying to download the lastest, grabbed macos-latest.zip and it extracted codexctl.bin, but I'm unable to open that archive

image

tried to use terminal to unzip codexctl.bin without any luck:

~ % unzip codexctl.bin
Archive:  codexctl.bin
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of codexctl.bin or
        codexctl.bin.zip, and cannot find codexctl.bin.ZIP, period.

lemonlemming avatar Jun 27 '24 23:06 lemonlemming

I'm not entirely sure why you are trying to extract codexctl.bin, as you've already extracted macos-latest.zip. codexctl.bin is not an archive, it's the executable that you run from the command line.

Eeems avatar Jun 27 '24 23:06 Eeems

$ unzip macos-latest.zip
Archive:  macos-latest.zip
  inflating: codexctl.bin
$ file codexctl.bin
codexctl.bin: Mach-O 64-bit executable arm64

This executable will only run on ARM machines. I can't use it either, at least on the machine which happens to be under my fingers at the moment, because it has an Intel processor.

Whoever compiled it, should rebuilt it for both ARM and Intel ...

$ file /bin/ls
/bin/ls: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit executable x86_64] [arm64e:Mach-O 64-bit executable arm64e]
/bin/ls (for architecture x86_64):	Mach-O 64-bit executable x86_64
/bin/ls (for architecture arm64e):	Mach-O 64-bit executable arm64e

... or release two binaries, one for macOS-ARM and one for macOS-Intel.

jms1voalte avatar Sep 26 '24 18:09 jms1voalte

Whoever compiled it, should rebuilt it for both ARM and Intel ... ... or release two binaries, one for macOS-ARM and one for macOS-Intel.

https://github.com/Jayy001/codexctl/pull/98

Eeems avatar Sep 26 '24 19:09 Eeems

Is it at all possible to run this software on an intel mac?

reesericci avatar Dec 23 '24 17:12 reesericci

Is it at all possible to run this software on an intel mac?

Yes.

Eeems avatar Dec 23 '24 17:12 Eeems