Distribution | Linux kernel | Statically linked binary | Official binary (alpha) | Official binary error |
---|---|---|---|---|
Alpine 3.7 | 4.15.0 π | βοΈ | β | 5. ELF interpreter not found |
Arch Linux | 4.17 | βοΈ | β | 1. libtinfo.so.5 not found |
Centos 6.6 | 4.15.0 π | βοΈ | β | 3. libgmp.so.10 not found |
Centos 7.5 | 4.15.0 π | βοΈ | β | 2. No libtinfo version information available |
Debian 4 etch | 2.6.18 | βοΈ | β | 1. libtinfo.so.6 not found |
Debian 5 lenny | 2.6.26 | βοΈ | β | 1. libtinfo.so.6 not found |
Debian 6 squeeze | 2.6.32 | βοΈ | β | 1. libtinfo.so.6 not found |
Debian 7 wheezy | 3.2.0 | βοΈ | β | 4. libffi.so.5 not found |
Debian 9 stretch | 4.15.0 π | βοΈ | βοΈ | |
Fedora 26 | 4.15.0 π | βοΈ | β | 1. libtinfo.so.5 not found |
Fedora 28 | 4.15.0 π | βοΈ | β | 1. libtinfo.so.5 not found |
Gentoo | 4.15.0 π | βοΈ | β | 1. libtinfo.so.5 not found |
OpenSuse leap 15.0 | 4.15.0 π | βοΈ | βοΈ | |
Slackware 14.2 | 4.15.0 π | βοΈ | β | 1. libtinfo.so.5 not found |
Ubuntu 14.04 | 4.15.0 π | βοΈ | β | 2. No libtinfo version information available |
Ubuntu 16.04 | 4.10 | βοΈ | βοΈ | |
Ubuntu 18.04 | 4.15.0 | βοΈ | βοΈ | |
Ubuntu 18.10 (dev) | 4.15.0 π | βοΈ | β | 1. libtinfo.so.5 not found |
Legend | |
---|---|
βοΈ | no error |
β | some error displayed on start but the binary works correctly |
β | some error displayed and the compiler does not work * |
π | tested in a docker container (ie: with host kernel) |
* some work-arounds like adding some symbolic links manually or installing some compat
libs can sometimes allow to run the compiler
error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
This occurs when the libtinfo.so.5
shared library is not found. This has mainly two causes:
libtinfo
is actually part ofncurses
sources and can be compiled inside or outsidelibncurses
. On distributions wherelibtinfo
is built insidelibncurses
, it won't be found and this is why creating a symbolic link tolibncurses.so.5
usually fixes the issue.- Some distributions have another version of
libtinfo
, usuallylibtinfo.so.6
.
/lib64/libtinfo.so.5: no version information available (required by ./elm)
This non-fatal error occurs when the distribution provides a libtinfo.so.5
shared library without symbol versionning while elm
has been dynamically linked with a libtinfo.so.5
library that included symbol versionning. The elm
binary is still executed, but as symbols versions are not checked, some runtime errors might eventually happen (in practice elm
seems to work correctly).
(More precisely, this means that the library doesn't have the VERDEF ELF section while the binary has some version definitions in the VERNEED ELF section for this library that were set during linking).
./error while loading shared libraries: libgmp.so.10: cannot open shared object file: No such file or directory
If libgmp
is already installed, this occurs when the distribution provides a different version.
error while loading shared libraries: libffi.so.6: cannot open shared object file: No such file or directory
If libffi
is already installed, this occurs when the distribution provides a different version.
./elm: not found
This occurs when the ELF interpreter /lib64/ld-linux-x86-64.so.2
is not found. This typically happens on non-glibc distributions (because ld-linux-*
is the glibc
dynamic loader).