Error : sh1 : avr-g++ not found

Can you give the output of the following commands

uname -a 
file ~/.platformio/packages/toolchain-atmelavr/bin/avr-g++
ldd ~/.platformio/packages/toolchain-atmelavr/bin/avr-g++