TorchScript compiling the model to run on OpenWrt

I an having Ubuntu 22.04:

$  cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.5 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.5 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

I compiled a C++ program on this OS as follows:

$ g++ -std=c++17 -o test_model_2 test_model_2.cpp -I/home/user-M/workspace/my-project/libtorch/include -I/home/user-M/workspace/my-project/libtorch/include/torch/csrc/api/include -L/home/user-M/workspace/my-project/libtorch/lib -Wl,-rpath,/home/user-M/workspace/my-project/libtorch/lib -ltorch -ltorch_cpu -lc10 -lstdc++ -D_GLIBCXX_USE_CXX11_ABI=0 

I also have OpenWrt docker container (openwrt/rootfs:x86-64-openwrt-19.07) running:

#  cat /etc/os-release
NAME="OpenWrt"
VERSION="19.07.10"
ID="openwrt"
ID_LIKE="lede openwrt"
PRETTY_NAME="OpenWrt 19.07.10"
VERSION_ID="19.07.10"
HOME_URL="https://openwrt.org/"
BUG_URL="https://bugs.openwrt.org/"
SUPPORT_URL="https://forum.openwrt.org/"
BUILD_ID="r11427-9ce6aa9d8d"
OPENWRT_BOARD="x86/64"
OPENWRT_ARCH="x86_64"
OPENWRT_TAINTS=""
OPENWRT_DEVICE_MANUFACTURER="OpenWrt"
OPENWRT_DEVICE_MANUFACTURER_URL="https://openwrt.org/"
OPENWRT_DEVICE_PRODUCT="Generic"
OPENWRT_DEVICE_REVISION="v0"
OPENWRT_RELEASE="OpenWrt 19.07.10 r11427-9ce6aa9d8d"

But it does not run in this OS:

# ./test_model_2
sh: ./test_model_2: not found

Both are x86 64 bit. Q1. Still why am getting this error?

I have another question:

Q2. My target device has 32-bit MIPS RISC processor running OpenWrt 19.07. Does torchscript support this target platform?