Open khalyomede opened 11 months ago
It looks like the roc
executable is relying on a shared library called libtinfo
which does not seem to exist (yet) in the Alpine packages, but does exist under the libtinfo-dev
package in Ubuntu.
It's safe to say that using Roc on Alpine is not trivial at all and will require some work to support this operating system for containers.
Notice that using Roc in Ubuntu (and Debian, and pretty much any non-libmusl-based distribution), whether it is on a bare-metal or a container does work as expected.
I've been working on building roc with llvm built with musl, but it's a difficult process. Once that's done the problems with alpine should be gone.
This issue follows https://github.com/roc-lang/roc/issues/6045, which was supposed to add an Alpine Linux Docker image.
The attempt has failed in https://github.com/roc-lang/roc/pull/6047 and a complete breakdown of the reason is available https://github.com/roc-lang/roc/pull/6047#issuecomment-1821853206.
The main issue is about Roc being currently built using dynamic libraries that are not available on Alpine (it seems):
If anybody having knowledge on low level C-compilation could help unfold this it would be great!