LibTorch: "version `GLIBC_2.34' not found (required by /usr/lib/libc10.so)"

I am attempting to use libtorch on a aarch64 embedded device. I built from source in a aarch64 Docker container on my host (in attempts to speed up build time). I moved the generated .so files to the target device however when attempting to use them I get: “version `GLIBC_2.34’ not found (required by /usr/lib/libc10.so)”. The target device is glibc 2.32 and so is the Docker container I used to build libtorch.

Am I missing something here? should I build an older version?

I think it is pretty safe to say that something picked up a newer glibc during the build.

Best regards

Thomas