CONTROLLINO-PLC / CONTROLLINO_Library

151 stars 55 forks source link

Possibly Missing Dependency #2

Closed frhun closed 7 years ago

frhun commented 7 years ago

I run Arduino 1.8.2 on Arch Linux x86_64, i made a clean install of Arduino, the Controllino Hardware Description, and the Software Library. But when I try to upload something to my Controllino Maxi Automation I get the error:

"/home/[USERNAME]/.arduino15/packages/arduino/tools/avrdude/6.0.1-arduino5/bin/avrdude: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory"

my "/home/[USERNAME]/.arduino15/packages/arduino/tools/avrdude/6.0.1-arduino5" folder has the following contents: `.: bin etc include lib

./bin: avrdude avrdude_bin libusb-config

./etc: avrdude.conf

./include: libusb-1.0 usb.h

./include/libusb-1.0: libusb.h

./lib: libusb-0.1.so.4 libusb-0.1.so.4.4.4 libusb-1.0.a libusb-1.0.la libusb-1.0.so libusb-1.0.so.0 libusb-1.0.so.0.1.0 libusb.a libusb.la libusb.so pkgconfig

./lib/pkgconfig: libusb-1.0.pc libusb.pc `

I suspect this may be due to a missing dependency in the hardware description file, as the requested library is nowhere to be found.

frhun commented 7 years ago

It was a problem with the OS, avrdude expected "old" (still used on most distributions) library versions (libreadline.so.6, libncurses.so.5, libtinfo.so.5) that were not available on my system.