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
Error running on Alpine #15
Comments
Thank you. I suppose any Linux binary requiring those shared libs would fail? BTW Google has started providing protoc binaries for Linux. I guess they fail too, but I'd be curious: |
I suppose so too, but I'd like to see this limitation in Readme. Otherwise "crossplatform" looks kond of misleading ;)
|
Exactly |
Yes, it's obviously limited cross-platform. And Linux comes in a lot of flavors. But we could keep it as an open issue |
the alpine have protoc lib but not work. |
This is not protoc-jar bug . is alpine not have glibc .
|
Thanks! |
Similar problem on nix. I submitted a patch to scalapb to allow it to just use a custom protoc: https://github.com/scalapb/ScalaPB/pull/367/files#diff-b20ee6b52802a4ee05c85a29da7026c2 |
Faced with same problem. |
Why not using protobuf statically compiled? It would work regardless of glibc or musl being the libc! Other thing I cannot get is why on the first place it requires to be native, there is no protobuf alternative written in java? |
I guess that would solve this issue, yes.
I don't know of a Java implementation, but if you know of one, then sure, that would be perfect. |
I also ran into the issue of the downloaded @os72 Could protoc-jar add a statically compiled |
I just found that if you install the Without
But after adding
|
No sure at all if it is an issue with protoc-jar - just noticed strange behaviour running build on Alpine.
In case anyone will have trouble there is workaround:
Found it here
Of course it is possible to set custom
PB.runProtoc
, but then it wouldn't cross-platform.The text was updated successfully, but these errors were encountered: