robotrokers / rokers-yocto-distro

A Yocto Distro for robot enabler embedded Linux!
MIT License
0 stars 1 forks source link

dev-rokers: Create symlink to be able to run docker #25

Open gmacario opened 7 years ago

gmacario commented 7 years ago

See https://github.com/robotrokers/rokers-yocto-distro/pull/23 for details

root@raspberrypi3:~# file /usr/bin/docker
/usr/bin/docker: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.3, for GNU/Linux 3.2.0, BuildID[sha1]=427901049c438d926ddae7919dc46f9a65d0fa8a, not stripped
root@raspberrypi3:~# ls -la /lib/ld-linux*
lrwxrwxrwx    1 root     root            10 Jul 26  2017 /lib/ld-linux-armhf.so.3 -> ld-2.24.so
root@raspberrypi3:~#

Create the following symlink on the target rootfs

root@raspberrypi3:~# ln -sf /lib/ld-2.24.so /lib/ld-linux.so.3
root@raspberrypi3:~#