Last active
February 3, 2017 19:35
-
-
Save Samathy/897d4ca4242f5817d6e07a320c82b009 to your computer and use it in GitHub Desktop.
Fix for -> Uploading a sketch to an Arduino Nano fails on Arch Linux 03.02.2017
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Attempting to upload an Arduino sketch to an Arduino Nano fails with the error: 'Failed to find libtinfo.so' | |
libtinfo is a dependency of avrdude. libtinfo (as far as I can tell) is a depreciated lib who's functionality is now part of, and shipped with, ncurses. | |
A dependency of Arduino, avrdude, uses the no longer avalible libtinfo.so. | |
The Arch AUR Package 'libtinfo' symlinks the relevent files, but does not fix the issue. | |
#Fix | |
=========== | |
sudo pacman -S avrdude | |
cd .arduino15/packages/arduino/tools/avrdude/6.3.0-arduino8/bin/ | |
mv avrdude old_avrdude | |
ln -s /usr/bin/avrdude avrdude | |
* Install avrdude from the repos | |
* Back up the avrdude that comes with Arduino | |
* Symlink the avrdude binary from the repos to the location of Arduino's avrdude | |
Dated Febuary 3rd 2017. | |
#Encountering this issue later in time may require a different fix. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment