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

Linux x86_64 builds for musl libc #239

Open
marshallpierce opened this issue Dec 11, 2019 · 2 comments
Open

Linux x86_64 builds for musl libc #239

marshallpierce opened this issue Dec 11, 2019 · 2 comments

Comments

@marshallpierce
Copy link
Contributor

Is there any interest in shipping a libsnappyjava.so for musl so it can be used on Alpine, etc? The dockerfile needed to build is trivial:

FROM alpine:3.10

RUN apk add make g++ perl bash

WORKDIR /work

That, plus a little makefile prodding, is enough to end up with a Linux/x86_64-musl/libsnappy.so.

However, there are multiple ways of approaching how to select this .so in the jar at runtime. Perhaps the most straightforward would be to add an override system property that chooses the path in the jar specifically, ignoring OS detection. Thoughts?

@lbergelson
Copy link
Contributor

I would also be interested in running something with a snappy dependency on alpine as well. It would be great it if worked out of the box.

@xerial
Copy link
Owner

xerial commented Jun 26, 2020

Enabling pure-java mode would help for supporting alpine https://github.com/xerial/snappy-java#using-pure-java-snappy-implementation. This is available since 1.1.7.6

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

No branches or pull requests

3 participants