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

Unable to install on Aarch64 #989

Open
newdev8 opened this issue Sep 11, 2023 · 3 comments
Open

Unable to install on Aarch64 #989

newdev8 opened this issue Sep 11, 2023 · 3 comments
Assignees
Labels
Milestone

Comments

@newdev8
Copy link

newdev8 commented Sep 11, 2023

I was trying to install sozu on a Orange Pi 5 but I was getting error could not find 'x86_64' in 'arch' from kawa.
There is a merged pull request that fixes this issue but has not been yet updated on crates.io.

I had to change the kawa dependency manually to point to the git repo and add features = [], then everything worked fine.

@Keksoj
Copy link
Member

Keksoj commented Sep 13, 2023

Kawa has been released with 0.6.3, and Sōzu does use this new version too. Does the problem still arise ?

@newdev8
Copy link
Author

newdev8 commented Oct 8, 2023

Hello, sorry for the late response.
No, it hasn't been fixed yet, I'm still getting the exact same error.

Now I didn't have to point to the git repo but I did have to change the features.
The problem has to do with the feature simd which is not compatible with aarch64.
To fix it I had to modify lib/Cargo.toml and remove the line simd = ["kawa/simd"] and also change default = ["simd"] to default = [] under [features].

@Wonshtrum
Copy link
Member

Sorry, I didn't see your answer. Yes as of today the building process is a bit cumbersome. You can achieve the same result by building sozu without default features as documented in the lib README. In the future, I hope the switch will be based on the targeted architecture so the user doesn't have to fiddle with the features. For now, we are primarily focused on more urgent development tasks.

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

No branches or pull requests

4 participants