Doesn't work on older Raspbian (Jesse) because of libtinfo version
robvandenbogaard opened this issue · 1 comments
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
- OS: Raspbian GNU/Linux 8 (jessie)
- Raspberry Pi 2 Model B rev 1.1
- CPU:
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
Model name: ARMv7 Processor rev 5 (v7l)
CPU max MHz: 900.0000
CPU min MHz: 600.0000
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.