Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac build is arm only #92

Open
lemonlemming opened this issue Jun 27, 2024 · 3 comments · May be fixed by #98
Open

Mac build is arm only #92

lemonlemming opened this issue Jun 27, 2024 · 3 comments · May be fixed by #98

Comments

@lemonlemming
Copy link

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.
@Eeems
Copy link
Collaborator

Eeems commented Jun 27, 2024

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.

@jms1voalte
Copy link

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

@Eeems
Copy link
Collaborator

Eeems commented Sep 26, 2024

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

#98

@Eeems Eeems linked a pull request Sep 26, 2024 that will close this issue
@Eeems Eeems changed the title Unable to open .bin from releases Mac build is arm only Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants