I'm using Arch Linux and an Arduino Mega. I installed the arduino IDE from my distributions package manager (pacman). Everything was working great untill my last system update, when something in avr-gcc/avr-libc must have broken. Now when I try to verify/upload, I get something along the lines of:
/usr/bin/avr-ld: crtm1280.o: No such file or directory
The object file is located at /usr/avr/lib/avr51, but I have no idea how to tell the IDE that. I tried setting LD_LIBRARY_PATH in the ~/.arduino/preferences.txt to no avail, and I've tried symlinking the object file into standard library folders such as /usr/lib, /usr/share/lib/,/usr/local/lib etc etc.
Any help would be greatly appreciated, Thanks