Building on non-glibc distro


I use Alpine Linux for my Docker builds. I couldn’t use the precompiled tar.gz provided as I suppose it was built against glibc.

Not a big problem, I can report that I have successfully build L against musl, which the libc of Alpine and other embedded distros.

It is fairly straightforward. Note that libxft2-dev is only libxft-dev in the Alpine repo (libxft-dev-2.3.2-r0).

So to install the dependencies, I ran:

# apk add git gcc make bison flex libxft-dev

Please note though that I have not been able to test an app with GUI as I don’t use it.

1 Like