For the tarball pulled by script/install.sh, on an Alpine system, I get the following errors:
» gram --foreground
Error relocating /home/user/.local/gram.app/libexec/../lib/libxcb.so.1: __isoc23_strtoul: symbol not found
Error relocating /home/user/.local/gram.app/libexec/../lib/libX11.so.6: __isoc23_strtoul: symbol not found
Error relocating /home/user/.local/gram.app/libexec/../lib/libX11.so.6: __isoc23_sscanf: symbol not found
Error relocating /home/user/.local/gram.app/libexec/../lib/libX11.so.6: __isoc23_strtol: symbol not found
Error relocating /home/user/.local/gram.app/libexec/../lib/libxkbcommon.so.0: __isoc23_strtoul: symbol not found
Error relocating /home/user/.local/gram.app/libexec/../lib/libxkbcommon.so.0: __isoc23_strtol: symbol not found
Error relocating /home/user/.local/gram.app/libexec/../lib/libXdmcp.so.6: arc4random_buf: symbol not found
Error relocating /home/user/.local/gram.app/libexec/gram-editor: __isoc23_strtol: symbol not found
Error relocating /home/user/.local/gram.app/libexec/gram-editor: __isoc23_sscanf: symbol not found
Error relocating /home/user/.local/gram.app/libexec/gram-editor: __res_init: symbol not found
Error relocating /home/user/.local/gram.app/libexec/gram-editor: fcntl64: symbol not found
Pretty sure this is a libc issue. I do see that musl is one of the required dependencies for Debian systems in script/linux, but (based on my errors) I think the X11 lib(s) are linked against glibc instead of muslc.
I've confirmed I can run local builds on Alpine.
To remedy this I think all that's needed is to adjust the CI to run on Alpine and adding Alpine/apk logic to script/linux.
Happy to take this on if there is interest.
For the tarball pulled by `script/install.sh`, on an Alpine system, I get the following errors:
```
» gram --foreground
Error relocating /home/user/.local/gram.app/libexec/../lib/libxcb.so.1: __isoc23_strtoul: symbol not found
Error relocating /home/user/.local/gram.app/libexec/../lib/libX11.so.6: __isoc23_strtoul: symbol not found
Error relocating /home/user/.local/gram.app/libexec/../lib/libX11.so.6: __isoc23_sscanf: symbol not found
Error relocating /home/user/.local/gram.app/libexec/../lib/libX11.so.6: __isoc23_strtol: symbol not found
Error relocating /home/user/.local/gram.app/libexec/../lib/libxkbcommon.so.0: __isoc23_strtoul: symbol not found
Error relocating /home/user/.local/gram.app/libexec/../lib/libxkbcommon.so.0: __isoc23_strtol: symbol not found
Error relocating /home/user/.local/gram.app/libexec/../lib/libXdmcp.so.6: arc4random_buf: symbol not found
Error relocating /home/user/.local/gram.app/libexec/gram-editor: __isoc23_strtol: symbol not found
Error relocating /home/user/.local/gram.app/libexec/gram-editor: __isoc23_sscanf: symbol not found
Error relocating /home/user/.local/gram.app/libexec/gram-editor: __res_init: symbol not found
Error relocating /home/user/.local/gram.app/libexec/gram-editor: fcntl64: symbol not found
```
Pretty sure this is a libc issue. I do see that musl is one of the required dependencies for Debian systems in [script/linux][script/linux], but (based on my errors) I think the X11 lib(s) are linked against glibc instead of muslc.
I've confirmed I can run local builds on Alpine.
To remedy this I think all that's needed is to adjust the CI to run on Alpine and adding Alpine/apk logic to [script/linux][script/linux].
Happy to take this on if there is interest.
[script/linux]: https://codeberg.org/GramEditor/gram/src/commit/1046b2f1de36a8eeb75e7f2f3bb3929310d0e8a6/script/linux