Repository navigation
vaultwarden compiled on Alpine Linux segfaults without "RUSTFLAGS=-C target-feature=-crt-static" #2515
DerVerruckteFuchs
started this conversation in
Ideas
Replies: 1 comment
|
We do not use alpine as a build environment, so no need to add this. Maybe adding it to the wiki is an option. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I've attempted to build vaultwarden on Alpine Linux 3.15 and 3.16, and the resulting binary segfaults when trying to run it. It seems to be a build environment issue with OpenSSL. The build environment fix (using
RUSTFLAGS=-C target-feature=-crt-static) from the link worked for me. I usedenv RUSTFLAGS=-C target-feature=-crt-static cargo build..., and I have a build that runs successfully. It would probably be a good idea to set this somewhere for Alpine Linux builds.All reactions