user18811: I just installed the 1.6.7 version and want to upload it a sketch to Arduino UNO hardware. I get error message:

/home/pali/Irataim/TarBalls/Arduino/arduino-1.6.7/hardware/tools/avr/bin/avrdude: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory

I'm on Gentoo linux operating system.
How can I solve this problem?
By following this link:  
https://forums.gentoo.org/viewtopic-p-7815500.html?sid=f67283068e3655b2f9e259a2097efef6
I just add tinfo USE flag to ncurses package, re-emerged it and can run Arduino IDE that I emerged from Gentoo repository.

user7508: Install libtinfo5, the terminfo library.
If that doesn't help, you can try to debug the problem yourself. First,
check which libtinfo avrdude is looking for:
ldd arduino-1.7.8-linux64/hardware/tools/avr/bin/avrdude_bin | grep libtinfo

On my Ubuntu, I get this:
libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007fa74a888000)

Next, see where your libtinfo is installed:
find /lib /usr/lib -name 'libtinfo*'

On my system I get:
/lib/x86_64-linux-gnu/libtinfo.so.5
/lib/x86_64-linux-gnu/libtinfo.so.5.9

Do you have any discrepancy between the two?

user19386: You have to rebuild sys-libs/ncurses with tinfo USE flag turned on. (You can also make a symlink: libtinfo.so -> libncurses.so, but it's not elegant solution).
Firstly, check if you have a record for ncurses in any file in /etc/portage/package.use. If not, create a file /etc/portage/package.use/ncurses with such content:
sys-libs/ncurses tinfo

then, rebuild ncurses:
emerge -av sys-libs/ncurses


18811: <p>I just installed the 1.6.7 version and want to upload it a sketch to Arduino UNO hardware. I get error message:</p>

<blockquote>
  <p>/home/pali/Irataim/TarBalls/Arduino/arduino-1.6.7/hardware/tools/avr/bin/avrdude: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory</p>
</blockquote>

<p>I'm on Gentoo linux operating system.</p>

<p>How can I solve this problem?</p>

<p>By following this link:  </p>

<p><a href="https://forums.gentoo.org/viewtopic-p-7815500.html?sid=f67283068e3655b2f9e259a2097efef6" rel="nofollow">https://forums.gentoo.org/viewtopic-p-7815500.html?sid=f67283068e3655b2f9e259a2097efef6</a><br>
I just add tinfo USE flag to ncurses package, re-emerged it and can run Arduino IDE that I emerged from Gentoo repository.</p>
 7508: <p>Install <code>libtinfo5</code>, the terminfo library.</p>

<p>If that doesn't help, you can try to debug the problem yourself. First,
check which libtinfo avrdude is looking for:</p>

<pre><code>ldd arduino-1.7.8-linux64/hardware/tools/avr/bin/avrdude_bin | grep libtinfo
</code></pre>

<p>On my Ubuntu, I get this:</p>

<pre><code>libtinfo.so.5 =&gt; /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007fa74a888000)
</code></pre>

<p>Next, see where your libtinfo is installed:</p>

<pre><code>find /lib /usr/lib -name 'libtinfo*'
</code></pre>

<p>On my system I get:</p>

<pre><code>/lib/x86_64-linux-gnu/libtinfo.so.5
/lib/x86_64-linux-gnu/libtinfo.so.5.9
</code></pre>

<p>Do you have any discrepancy between the two?</p>
 19386: <p>You have to rebuild <code>sys-libs/ncurses</code> with <code>tinfo</code> USE flag turned on. (You can also make a symlink: <code>libtinfo.so -&gt; libncurses.so</code>, but it's not elegant solution).</p>

<p>Firstly, check if you have a record for ncurses in any file in <code>/etc/portage/package.use</code>. If not, create a file <code>/etc/portage/package.use/ncurses</code> with such content:</p>

<pre><code>sys-libs/ncurses tinfo
</code></pre>

<p>then, rebuild ncurses:</p>

<pre><code>emerge -av sys-libs/ncurses
</code></pre>
