AnsweredAssumed Answered

exectubale has interpretor ld-linux.so.3

Question asked by Venkat Subbiah on Oct 9, 2015
Latest reply on Oct 22, 2015 by alejandrolozano

I am using Yocto SDK - version /opt/fsl-imx-release/1.8/ to build an exeutable and the interpreter is /lib/ld-linux.so.3. I am wondering why this different from  other binaries
which have it as ld-linux-armhf.so.3.  My executable runs ok after creating the link ld-linux.so.3 -> ld-2.21.so in /lib.

 

Some details about the SDK used.

  • The SDK itself was generate using repo branch  imx-3.14.38-6UL7D_beta . The command used is: "repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-3.14.38-6UL7D_beta"
  • The machine type was imx6ulevk; The command used is MACHINE=imx6ulevk source fsl-setup-release.sh -b build_6ul -e x11; bitbake -c populate_sdk fsl-image-gui;
  • SDK installed using tmp/deploy/sdk/fsl-imx-release-glibc-x86_64-fsl-image-gui-cortexa7hf-vfp-neon-toolchain-1.8.sh

 

root@imx6ulevk:~# file /bin/wl

/bin/wl: ELF 32-bit LSB
executable, ARM, EABI5 version 1 (SYSV), dynamically linked
, interpreter /lib/ld-linux.so.3, for GNU/Linux 2.6.32, BuildID[sha1]=9289f54de4e622ffe2d08b9c884dc748330a4ad

root@imx6ulevk:~#

 

 

root@imx6ulevk:~# file /bin/bash

/bin/bash: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 2.6.32, BuildID[sha1]=044eb764ca142e79e4

 

root@imx6ulevk:~# ls -al /lib | grep ld

-rwxr-xr-x  1 root root  134392 Jul  7 14:25 ld-2.21.so

lrwxrwxrwx  1 root root      10 Jul  7 18:23 ld-linux-armhf.so.3 -> ld-2.21.so

lrwxrwxrwx  1 root root      10 Oct  9 00:45 ld-linux.so.3 -> ld-2.21.so

root@imx6ulevk:~#

 

Thanks,

Venkat

Outcomes