openziti / zrok

Geo-scale, next-generation peer-to-peer sharing platform built on top of OpenZiti.
https://zrok.io
Apache License 2.0
2.56k stars 101 forks source link

wrong interpreter path on some armv7 ABI's #642

Closed qrkourier closed 2 months ago

qrkourier commented 3 months ago

The binary's ELF interpreter is /lib/ld-linux.so.3, but the file doesn't exist, so the binary can't be exec'd. It was observed on a Beaglebone Black device in this forum topic (it was originally a thread about 32bit RasPi and was resurrected for the Beaglebone issue).

Workaround:

sudo ln -s /lib/ld-linux-armhf.so.3 /lib/ld-linux.so.3

We probably need to change the path or vend another 32bit variant. As a last resort, the Linux package could provide the symlink.

qrkourier commented 3 months ago

The problem was encountered on a Debian Buster system.

debian@beaglebone:~$ uname -a
Linux beaglebone 4.19.94-ti-r68 #1buster SMP PREEMPT Thu Sep 16 15:32:31 UTC 2021 armv7l GNU/Linux

CPU was ARM Cortex-A8 based CPU, which is an ARM 32bit processor implementing ARM-v7A.