origin
origin copied to clipboard
segmentation fault on apple m1
The oc
command fails with the error message segmentation fault
on ARM based Apple M1 Macbook Pro.
Version
openshift-origin-client-tools-v3.11.0-0cbc58b-mac
Steps To Reproduce
- Just run the oc command
Current Result
[1] 13704 segmentation fault ./oc
any update with this?
Any alternatives?
+1
Try installing it via homebrew. I think the issue is in the 3.x version of oc and not M1 in particular. Homebrew ships with version 4.x. I am using it with an OpenShift cluster at version 3.11 and the client works fine at version 4.x.
+100
+1
+1
Try installing it via homebrew. I think the issue is in the 3.x version of oc and not M1 in particular. Homebrew ships with version 4.x. I am using it with an OpenShift cluster at version 3.11 and the client works fine at version 4.x.
still doesn't work, has your mac m1 been resolved?
sadly, +1
+1
+1
brew install openshift-cli
Issues go stale after 90d of inactivity.
Mark the issue as fresh by commenting /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen
.
If this issue is safe to close now please do so with /close
.
/lifecycle stale
Stale issues rot after 30d of inactivity.
Mark the issue as fresh by commenting /remove-lifecycle rotten
.
Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting /lifecycle frozen
.
If this issue is safe to close now please do so with /close
.
/lifecycle rotten /remove-lifecycle stale
Rotten issues close after 30d of inactivity.
Reopen the issue by commenting /reopen
.
Mark the issue as fresh by commenting /remove-lifecycle rotten
.
Exclude this issue from closing again by commenting /lifecycle frozen
.
/close
@openshift-bot: Closing this issue.
In response to this:
Rotten issues close after 30d of inactivity.
Reopen the issue by commenting
/reopen
. Mark the issue as fresh by commenting/remove-lifecycle rotten
. Exclude this issue from closing again by commenting/lifecycle frozen
./close
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
Adding an extra note for those searching for a solution. This is what worked for me.
- Running
brew install openshift-cli
-
Still got a segmentation fault with brew's
oc
- Install Xcode
- No segmentation fault
I didn't dig into it too much, but my theory is that there's some dependent library which is present with Xcode which allows oc
to run.
Short version: install Xcode, then brew install openshift-cli
.