dmy / elm-raspberry-pi

Unofficial Elm Arm 32 bits binaries for Raspberry Pi
Other
12 stars 0 forks source link

Doesn't work on older Raspbian (Jesse) because of libtinfo version #1

Open robvandenbogaard opened 4 years ago

robvandenbogaard commented 4 years ago

Describe the bug

The elm binary fails to execute reporting: elm: error while loading shared libraries: libtinfo.so.6: cannot open shared object file: No such file or directory

It is not really a bug, because it is kind of expected from Jessie to have outdated libraries. However, I'm wondering if libtinfo et al could be statically linked into the binaries, to make it even more compatible with different os versions. (I will probably upgrade all of my Pi's to more recent versions soon, but maybe good to know which issues occur with older os-es)

SSCCE (Short, Self Contained, Correct (Compilable), Example)

Follow instructions to install elm-raspberry-pi binaries into /usr/local/bin. Execute elm.

Expected behavior

The elm command executes and prints an informational message.

System

rlefevre commented 4 years ago

Thank you for the report. I have updated the README.

Following more tests, libtinfo is not the only issue, the whole libc.so.6 is incompatible with Debian 8.

Once a more recent version of GHC is available on Alpine Linux armhf, I may be able to build a fully statically linked binary like the Linux x86_64 one.

If you want to help, the best way is to help the GHC packages to be updated on Alpine Linux, including armhf.