3

So I'm playing with Alpine Linux, which uses musl vs glibc.

I'm finding out that because of this choice I can't run Oracle Java, or static go binaries built under glibc.

Is musl supposed to be compatible with the more widely used glibc or are you required to recompile against it? (I don't really expect big players like Oracle to do this!)

BMW
  • 42,880
  • 12
  • 99
  • 116
Greg
  • 10,696
  • 22
  • 68
  • 98
  • Here are some solutions for you. https://github.com/gliderlabs/docker-alpine/issues/11 – BMW Nov 14 '15 at 03:47

1 Answers1

4

I don't believe either library aims to be ABI-compatible with the other.

Without ABI compatibility, yes: you will have to recompile and relink code against MUSL if you hope to run with MUSL.

Employed Russian
  • 199,314
  • 34
  • 295
  • 362