Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Bash: ./filename: cannot execute binary file: Exec fortmat error

Bash: ./filename: cannot execute binary file: Exec fortmat error

Scheduled Pinned Locked Moved Unsolved General and Desktop
imx6
2 Posts 2 Posters 320 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rtvideo
    wrote on 7 Oct 2020, 15:32 last edited by
    #1

    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?

    1 Reply Last reply
    0
    • C Offline
      C Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on 7 Oct 2020, 15:34 last edited by
      #2

      @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'.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      3

      2/2

      7 Oct 2020, 15:34

      • Login

      • Login or register to search.
      2 out of 2
      • First post
        2/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved