Closed sanmai-NL closed 6 years ago
TBH I have no idea. I can't even build openssl with musl-gcc on my system (Debian sid), it never worked and I give up on trying.
Alpine Linux 3.5+ now used patched LibreSSL version.
Yes, I just tested with LibreSSL and it is working fine. Just compile LibreSSL with musl-gcc and --disable-shared
configuration option. Then you can build acme-client for x86_64-unknown-linux-musl
and statically link LibreSSL library. I am closing this now.
The
openssl
dependency makes cross-compilation very hard. (Once there is feature parity, I would be in favor of replacing it withwebpki
.) Even when cross-compilation succeeds, theletsencrypt-rs
fails for me at runtime.I compiled
openssl
under Arch Linux, as required by theopenssl
crate:Then I compiled
letsencrypt-rs
:However, when running with some CLI params under Alpine Linux 3.5,
letsencrypt-rs
exits with status 1 and message:How can I solve this? Could the error message be improved?