Cannot load library libtinfo.so.5

/home/amorris/opt/arduino-1.8.0/hardware/tools/avr/bin/avrdude: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory

is what I get when trying to upload a sketch from ArchLinux. What do I do? How do I fix it?

I installed arduino-1.8.1 and got similar message re libtinfo.so.5. So, I installed libtinfo from AUR, this is Version 6-18. Then I installed ncurses5-compat-libs from AUR, which provides libtinfo5. Problem solved.