error while loading shared libraries

Hi,

I updated the boards package today, then got the "avr-g++: error: missing filename after '-o'" message, so followed that error again and reverted back to the "AVR Boards 1.6.9 " package (which solved it last time), but now I'm faced with:

/home/meh/.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

Maybe I could symlink libreadline.so.6, but I'd rather reinstall the appropriate package, so can anyone tell me which one I need to reinstall, etc? (or other solution)

Many Thanks

FYI: I'm on Fedora 26, I did try building Arduino IDE from source but eventually reverted to using the pre-built package as had issues.

Think the symlink was the right solution, my error..

ln -s /usr/lib64/libreadline.so.7.0 /usr/lib64/libreadline.so.6

Which version of the Arduino IDE are you using? I believe "avr-g++: error: missing filename after '-o'" is caused by using an old IDE version with a new boards package version. Rather than be stuck using an old boards package, why not update the IDE?