sozu icon indicating copy to clipboard operation
sozu copied to clipboard

Unable to install on Aarch64

Open newdev8 opened this issue 2 years ago • 3 comments

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.

newdev8 avatar Sep 11 '23 22:09 newdev8

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

Keksoj avatar Sep 13 '23 15:09 Keksoj

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

newdev8 avatar Oct 08 '23 22:10 newdev8

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.

Wonshtrum avatar Oct 26 '23 12:10 Wonshtrum

Kawa has been updated since, the problem should not arise anymore.

Keksoj avatar Aug 13 '24 17:08 Keksoj