The Linux protoc in protoc-jar is a static 64bit build, I think on some RedHat flavor. But it still has some .so dependencies, libc.so, etc. I'm guessing that's the issue?
If some Linux expert could provide a fully static build (no shared libs at all), I think that should work on most Linuxes. Happy to include it in protoc-jar Porting the whole thing to Java sounds great but may not be that trivial, not sure Cheers --Oliver On Tuesday, June 24, 2014 8:31:08 AM UTC-7, John Calcote wrote: > > Thanks Feng Xiao- > > I checked into protoc-jar. Unfortunately, it suffers from the same problem > I'm currently having - it just wraps a call to the C version of protoc for > windows, osx and linux and provides those binaries embedded in the jar. > This would be fine except, as the OP pointed out, protoc on linux is not > portable from one linux distro to another. The readme.md file is not even > clear as to which linux distro the linux version targets. I'm looking for a > true native java port of the protoc compiler. It's a pretty trivial > compiler and the C source code is available. I guess I'll have to do it > myself. > > John > -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.
