Version `GLIBC_2.28' not found

Hi there!

I have a RPI that I use to program a ArduinoUno without any problem. I just plugged into the same RPI a Arduino MKR1000 (in a different USB port). I'm using the Arduino IDE v1.8.12. The IDE can see the MKR1000 (Tools -> Get Board Info).

I installed the Arduino SAMD Boards (32-bits ARM Cortex-M0+) v1.8.6 and tried to compile a simple program for the MKR1000 but I received the following error:

Arduino: 1.8.12 (Linux), Board: "Arduino MKR1000"

/home/pi/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.28' not found (required by /home/pi/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++)
exit status 1
Error compiling for board Arduino MKR1000.

with all the details below.

What am I missing? Why is GLIBC_2.28 not found and how could I add it?

Thanks in advance!
Yann

--

Arduino: 1.8.12 (Linux), Board: "Arduino MKR1000"

/home/pi/Downloads/arduino-1.8.12/arduino-builder -dump-prefs -logger=machine -hardware /home/pi/Downloads/arduino-1.8.12/hardware -hardware /home/pi/.arduino15/packages -tools /home/pi/Downloads/arduino-1.8.12/tools-builder -tools /home/pi/Downloads/arduino-1.8.12/hardware/tools/avr -tools /home/pi/.arduino15/packages -built-in-libraries /home/pi/Downloads/arduino-1.8.12/libraries -libraries /home/pi/Arduino/libraries -fqbn=arduino:samd:mkr1000 -vid-pid=0X2341_0X004E -ide-version=10812 -build-path /tmp/arduino_build_158848 -warnings=none -build-cache /tmp/arduino_cache_362177 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.openocd.path=/home/pi/.arduino15/packages/arduino/tools/openocd/0.10.0-arduino7 -prefs=runtime.tools.openocd-0.10.0-arduino7.path=/home/pi/.arduino15/packages/arduino/tools/openocd/0.10.0-arduino7 -prefs=runtime.tools.bossac.path=/home/pi/.arduino15/packages/arduino/tools/bossac/1.7.0-arduino3 -prefs=runtime.tools.bossac-1.7.0-arduino3.path=/home/pi/.arduino15/packages/arduino/tools/bossac/1.7.0-arduino3 -prefs=runtime.tools.arduinoOTA.path=/home/pi/.arduino15/packages/arduino/tools/arduinoOTA/1.2.1 -prefs=runtime.tools.arduinoOTA-1.2.1.path=/home/pi/.arduino15/packages/arduino/tools/arduinoOTA/1.2.1 -prefs=runtime.tools.CMSIS-Atmel.path=/home/pi/.arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0 -prefs=runtime.tools.CMSIS-Atmel-1.2.0.path=/home/pi/.arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0 -prefs=runtime.tools.arm-none-eabi-gcc.path=/home/pi/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4 -prefs=runtime.tools.arm-none-eabi-gcc-7-2017q4.path=/home/pi/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4 -prefs=runtime.tools.CMSIS.path=/home/pi/.arduino15/packages/arduino/tools/CMSIS/4.5.0 -prefs=runtime.tools.CMSIS-4.5.0.path=/home/pi/.arduino15/packages/arduino/tools/CMSIS/4.5.0 -verbose /home/pi/Code/ArduinoMKR1000/SimpleLCDDisplay/SimpleLCDDisplay.ino
/home/pi/Downloads/arduino-1.8.12/arduino-builder -compile -logger=machine -hardware /home/pi/Downloads/arduino-1.8.12/hardware -hardware /home/pi/.arduino15/packages -tools /home/pi/Downloads/arduino-1.8.12/tools-builder -tools /home/pi/Downloads/arduino-1.8.12/hardware/tools/avr -tools /home/pi/.arduino15/packages -built-in-libraries /home/pi/Downloads/arduino-1.8.12/libraries -libraries /home/pi/Arduino/libraries -fqbn=arduino:samd:mkr1000 -vid-pid=0X2341_0X004E -ide-version=10812 -build-path /tmp/arduino_build_158848 -warnings=none -build-cache /tmp/arduino_cache_362177 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.openocd.path=/home/pi/.arduino15/packages/arduino/tools/openocd/0.10.0-arduino7 -prefs=runtime.tools.openocd-0.10.0-arduino7.path=/home/pi/.arduino15/packages/arduino/tools/openocd/0.10.0-arduino7 -prefs=runtime.tools.bossac.path=/home/pi/.arduino15/packages/arduino/tools/bossac/1.7.0-arduino3 -prefs=runtime.tools.bossac-1.7.0-arduino3.path=/home/pi/.arduino15/packages/arduino/tools/bossac/1.7.0-arduino3 -prefs=runtime.tools.arduinoOTA.path=/home/pi/.arduino15/packages/arduino/tools/arduinoOTA/1.2.1 -prefs=runtime.tools.arduinoOTA-1.2.1.path=/home/pi/.arduino15/packages/arduino/tools/arduinoOTA/1.2.1 -prefs=runtime.tools.CMSIS-Atmel.path=/home/pi/.arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0 -prefs=runtime.tools.CMSIS-Atmel-1.2.0.path=/home/pi/.arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0 -prefs=runtime.tools.arm-none-eabi-gcc.path=/home/pi/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4 -prefs=runtime.tools.arm-none-eabi-gcc-7-2017q4.path=/home/pi/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4 -prefs=runtime.tools.CMSIS.path=/home/pi/.arduino15/packages/arduino/tools/CMSIS/4.5.0 -prefs=runtime.tools.CMSIS-4.5.0.path=/home/pi/.arduino15/packages/arduino/tools/CMSIS/4.5.0 -verbose /home/pi/Code/ArduinoMKR1000/SimpleLCDDisplay/SimpleLCDDisplay.ino
Using board 'mkr1000' from platform in folder: /home/pi/.arduino15/packages/arduino/hardware/samd/1.8.6
Using core 'arduino' from platform in folder: /home/pi/.arduino15/packages/arduino/hardware/samd/1.8.6
Detecting libraries used...
/home/pi/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++ -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10812 -DARDUINO_SAMD_MKR1000 -DARDUINO_ARCH_SAMD -DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804e -DUSBCON "-DUSB_MANUFACTURER="Arduino LLC"" "-DUSB_PRODUCT="Arduino MKR1000"" -I/home/pi/.arduino15/packages/arduino/tools/CMSIS/4.5.0/CMSIS/Include/ -I/home/pi/.arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/ -I/home/pi/.arduino15/packages/arduino/hardware/samd/1.8.6/cores/arduino -I/home/pi/.arduino15/packages/arduino/hardware/samd/1.8.6/variants/mkr1000 /tmp/arduino_build_158848/sketch/SimpleLCDDisplay.ino.cpp -o /dev/null
Error while detecting libraries included by /tmp/arduino_build_158848/sketch/SimpleLCDDisplay.ino.cpp
Generating function prototypes...
/home/pi/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++ -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10812 -DARDUINO_SAMD_MKR1000 -DARDUINO_ARCH_SAMD -DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804e -DUSBCON "-DUSB_MANUFACTURER="Arduino LLC"" "-DUSB_PRODUCT="Arduino MKR1000"" -I/home/pi/.arduino15/packages/arduino/tools/CMSIS/4.5.0/CMSIS/Include/ -I/home/pi/.arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/ -I/home/pi/.arduino15/packages/arduino/hardware/samd/1.8.6/cores/arduino -I/home/pi/.arduino15/packages/arduino/hardware/samd/1.8.6/variants/mkr1000 /tmp/arduino_build_158848/sketch/SimpleLCDDisplay.ino.cpp -o /tmp/arduino_build_158848/preproc/ctags_target_for_gcc_minus_e.cpp
/home/pi/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.28' not found (required by /home/pi/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++)
exit status 1
Error compiling for board Arduino MKR1000.

PS. BTW, "apt-get update && apt-get upgrade libc6" report that

"libc6 is already the newest version (2.24-11+deb9u4)."