Bash: ./filename: cannot execute binary file: Exec fortmat error
-
Hello, I am trying to run a Qt program made in a Linux 64 bit Ubuntu desktop (18.04) on a IMX6 SabreLite that has Ubuntu 18.04 installed as well. When doing ./filename I receive cannot execute binary file: Exec fortmat error.
When doing "file filename" I receive: ELF 64 Bit LSB Shared object, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=312fbde7a6660dfc6a7862..., with debug_info, not stripped
Is there anyway to get around this and be able to run the binary on the IMX6?
-
@rtvideo said in Bash: ./filename: cannot execute binary file: Exec fortmat error:
Is there anyway to get around this and be able to run the binary on the IMX6?
You have to compile it for this architecture. Search for 'cross compile'.