Cloud Stack Ninja

Device:Jetson nano
Os version:Linux dx-nano 4.9.140-tegra #1 SMP PREEMPT Thu Sep 24 16:07:04 PDT 2020 aarch64 aarch64 aarch64 GNU/Linux
Problem:I want to run Mujoco on my nano.But when i excute the binary file ‘simulate’,it shows
dx@dx-nano:~/.mujoco/mujoco200/bin$ ./simulate
-bash: ./simulate: cannot execute binary file: Exec format error
then i check the file like this
dx@dx-nano:~/.mujoco/mujoco200/bin$ file simulate
simulate: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/, for GNU/Linux2.6.24, BuildID[sha1]=72621d3551cdb541328f102fc54419b7e6af62d4, not stripped
and this.
dx@dx-nano:~/.mujoco/mujoco200/bin$ readelf -h simulate

  ELF Header:
  Magic:   7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 
  Class:                             ELF64
  Data:                              2's complement, little endian
  Version:                           1 (current)
  OS/ABI:                            UNIX - System V
  ABI Version:                       0
  Type:                              EXEC (Executable file)
  Machine:                           Advanced Micro Devices X86-64
  Version:                           0x1
  Entry point address:               0x402ff5
  Start of program headers:          64 (bytes into file)
  Start of section headers:          70984 (bytes into file)
  Flags:                             0x0
  Size of this header:               64 (bytes)
  Size of program headers:           56 (bytes)
  Number of program headers:         9
  Size of section headers:           64 (bytes)
  Number of section headers:         31
  Section header string table index: 28

the ‘simulate’ is compiled with x86,but nano system architecture is aarch64,the dynamic link libraries also don’t exist.How to run this file on my device,Compile again with the source code on my device?What if there is no source code?

%d bloggers like this: