I am getting the subject compile error. It even happens with the sample Arduino codes built into the IDE (below is the error for the basic Blink example).
I have the latest version of the Arduino IDE and Java on Mac OS 10.9.
Whether I try to compile (no Arduino connected) or try to upload the code, the error appears.
Below is the complete error message.
Arduino: 1.8.10 (Mac OS X), Board: "Arduino/Genuino Uno" dyld: Symbol not found: _unlinkat Referenced from: ***/Arduino.app/Contents/Java/arduino-builder Expected in: flat namespace ***/Arduino.app/Contents/Java/arduino-builder returned 133 Error compiling for board Arduino/Genuino Uno.
Does anyone know what is wrong?