Arduino Troubleshooting¶
libtinfo.so.5¶
Source: github.com, www.dinotools.de
It seems to be a known issue with Arduino software on Arch Linux: When trying to load any program to a microcontroller, the following error emerges:
1 | error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
|
According to www.dinotools.de, the reason is that libtinfo.so.5
is not included in libcurses
packages on Arch distributions.
Therefore Arduino cannot find the library where it expects it to be.
A simple (but dirty) approach to solve the problem is to create a link to libtinfo.so.5
which exists on my system.
1 | # ln -s /lib/libtinfo.so.6 /lib/libtinfo.so.5
|
Others suggest linking to various libncurses.so
files which I haven't tested yet.