5 Replies Latest reply on Mar 14, 2017 5:21 PM by Intel Corporation

    The OstroOS cannot seem to run a specific 64-bit binary.

    ronkt

      Hello,

      I am trying to run the 64 bit version of a binary on the default OS of the Intel Joule(Linux intel-corei7-64 4.4.15-yocto-standard #1 SMP PREEMPT Fri Aug 12 22:04:24 UTC 2016 x86_64 GNU/Linux)

      The binary is from a orchestration software called Nomad from Hashicorp(Download Nomad - Nomad by HashiCorp ).

       

      Here's what happens when i try to run it(I have already given it all necessary permissions):

      root@intel-corei7-64:~# ./nomad

      -sh: ./nomad: No such file or directory

       

      This binary works fine on an 64 bit laptop running Ubuntu 14.04 or 16.04.

      Here's some extra info which hopefully might give an idea of whats going wrong -

       

      Strace Output:

      root@intel-corei7-64:~# strace -fF ./nomad

      execve("./nomad", ["./nomad"], [/* 18 vars */]) = -1 ENOENT (No such file or directory)

      write(2, "strace: exec: No such file or di"..., 40strace: exec: No such file or directory

      ) = 40

      exit_group(1) = ?

      +++ exited with 1 +++

       

      File Output

      root@intel-corei7-64:~# file ./nomad

      ./nomad: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=8ea5c51afe8ae64f4e10f0c14f51c45dbcc901b8, not stripped

       

      Readelf output

      root@intel-corei7-64:~# readelf -d nomad

      Dynamic section at offset 0x130ae10 contains 25 entries:

      Tag Type Name/Value

      0x0000000000000001 (NEEDED) Shared library: [libpthread.so.0]

      0x0000000000000001 (NEEDED) Shared library: [libc.so.6]

      0x000000000000000c (INIT) 0x4017c0

      0x000000000000000d (FINI) 0xec1ae4

      0x0000000000000019 (INIT_ARRAY)         0x190adf8

      0x000000000000001b (INIT_ARRAYSZ)       8 (bytes)

      0x000000000000001a (FINI_ARRAY)         0x190ae00

      0x000000000000001c (FINI_ARRAYSZ)       8 (bytes)

      0x000000006ffffef5 (GNU_HASH)           0x400380

      0x0000000000000005 (STRTAB) 0x400da0

      0x0000000000000006 (SYMTAB) 0x400530

      0x000000000000000a (STRSZ) 1464 (bytes)

      0x000000000000000b (SYMENT) 24 (bytes)

      0x0000000000000015 (DEBUG) 0x0

      0x0000000000000003 (PLTGOT) 0x190b000

      0x0000000000000002 (PLTRELSZ)           816 (bytes)

      0x0000000000000014 (PLTREL) RELA

      0x0000000000000017 (JMPREL) 0x401490

      0x0000000000000007 (RELA) 0x401460

      0x0000000000000008 (RELASZ) 48 (bytes)

      0x0000000000000009 (RELAENT)            24 (bytes)

      0x000000006ffffffe (VERNEED) 0x401410

      0x000000006fffffff (VERNEEDNUM)         2

      0x000000006ffffff0 (VERSYM) 0x401358

      0x0000000000000000 (NULL) 0x0

       

      The shared libraries mentioned above are present in the /lib folder.

       

      Anybody have any clues as to whats happening?

      Cant seem to figure out what I'm doing wrong.

       

      Thanks!

      Ron