Snap install wrong format

Hi,
I tried to install a package named telegram-testbart on a pinephone under Manjaro-ARM (Cortex-A53).
When I tried to run it, I got cannot execute binary file: Exec format error. Indeed:

[ale@alesmart ~]$ file /snap/telegram-testbart/6/bin/Telegram
/snap/telegram-testbart/6/bin/Telegram: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.24, BuildID[sha1]=ab8a7dd838dc8547a9b09c47ea32d3d55c6a9d21, stripped

I installed it with sudo snap install from a terminal. Is there something wrong with the package or with the way I used it? Also, the package didn’t install a desktop icon. Strange, given that it is supposed to be an app for the phone, where using the terminal is not so handy. BTW, I dont’ find an icon for pamac either. Is it me?

You installed a x64 pre-built binary on your aarch64 device.

1 Like

Shouldn’t snap have known the target architecture automatically?