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

bad CPU type in executable: wsk (macOS 10.15 Catalina) #453

Open
shazron opened this issue Aug 1, 2019 · 3 comments
Open

bad CPU type in executable: wsk (macOS 10.15 Catalina) #453

shazron opened this issue Aug 1, 2019 · 3 comments

Comments

@shazron
Copy link

@shazron shazron commented Aug 1, 2019

Description

This issue is purely informational (for search engines). macOS 10.15 Catalina can only run 64-bit apps. When downloading an executable from the Releases page, a user may be confused if they only have an Intel CPU, that they may not install the amd64 bit version, and use the 386 version instead. Suggest rename to amd64 to x86_64 in any zip filenames under the Releases tab.

Expected

When I type wsk in the terminal, it runs

Actual

When I type wsk in the terminal, it shows the error message bad CPU type in executable: wsk

Steps to reproduce:

  1. Install macOS 10.15 Catalina (Intel CPU)
  2. Download the OpenWhisk_CLI-latest-mac-386.zip file from
    https://github.com/apache/incubator-openwhisk-cli/releases/tag/latest
  3. Unzip the file
  4. Run wsk

Workaround

Download the OpenWhisk_CLI-latest-mac-amd64.zip bundle instead, and run the wsk executable in there

Suggested Fix

  1. Rename OpenWhisk_CLI-latest-mac-amd64.zip to OpenWhisk_CLI-latest-mac-x86_64.zip
@RuyProserv

This comment has been minimized.

Copy link

@RuyProserv RuyProserv commented Dec 11, 2019

my type is zsh, do i do the same?

@safiqu

This comment has been minimized.

Copy link

@safiqu safiqu commented Feb 16, 2020

i have same problem but i dont understand how to solve it, any solution

@rabbah

This comment has been minimized.

Copy link
Member

@rabbah rabbah commented Feb 17, 2020

@shazron's comment pertain to Mac OS X only. If you're on a linux environment make sure you're downloading an appropriate version for example https://github.com/apache/openwhisk-cli/releases/download/latest/OpenWhisk_CLI-latest-linux-amd64.tgz from https://github.com/apache/openwhisk-cli/releases/tag/latest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.