Failing to compile using pio in termux

Hi Max, thanks for jumping in!

here is the output:

cd /data/data/com.termux/files/home/.platformio/packages/toolchain*esp32*
cd bin
./xtensa-esp32s3-elf-g++ --version
ldd ./xtensa-esp32s3-elf-g++
readelf -a xtensa-esp32s3-elf-g++ | grep interpreter
readelf -a $(which cat) | grep interpreter
bash: ./xtensa-esp32s3-elf-g++: cannot execute: required file not found
        libstdc++.so.6 => not found
        libm.so.6 => not found
        libc.so.6 => not found
      [Requesting program interpreter: /lib/ld-linux-aarch64.so.1]
      [Requesting program interpreter: /system/bin/linker64]

I’ve tried to install the missing libs but no joy so far