[meta-virtualization] /usr/bin/docker: No such file or directory

Mark Asselstine mark.asselstine at windriver.com
Mon Jun 19 08:15:30 PDT 2017


On Friday, June 16, 2017 7:19:43 AM EDT Pieter Cardoen wrote:
> Dear Mark
> 
> I've checked this and came to the conclusion that  /lib/ld-linux.so.3 is not
> available. Instead it is called /lib/ld-linux-armhf.so.3. If I add a
> symlink with name /lib/ld-linux.so.3 and which points to
> /lib/ld-linux-armhf.so.3, it works.
> 
> Now I still have to adapt the recipes to have this automatically OK. How
> could I tackle this?

Hi Pieter,

Unfortunately I haven't had any time to look at this and only have x86_64 
builds to poke around at. You should start by looking at the package build and 
see where it is getting crossed up. If I do find some time to look at this I 
will let you know what I find.

Mark

> 
> Thanks
> Pieter
> 
> <pieter.cardoen at hotmail.com> wrote:
> > Dear
> > 
> > I am building docker using Yocto for a Xilinx Zynq platform. When I try to
> > start docker, I get:
> > 
> > -sh: /usr/bin/docker: No such file or directory
> > 
> > However this file is available:
> > 
> > ll /usr/bin/docker
> > -rwxr-xr-x    1 root     root      11661808 Jun  9 14:27 docker
> > 
> > What could be the reason of this & how could I debug this?
> 
> Run the 'file' command on the file, my guess it won't match
> executables that do run.
> 
> Mark
> 
> > PS.
> > 
> > I have checked the kernel config using check-config.sh and all Generally
> > Necessary things are OK. Generally Necessary:
> > - cgroup hierarchy: properly mounted [/sys/fs/cgroup]
> > - CONFIG_NAMESPACES: enabled
> > - CONFIG_NET_NS: enabled
> > - CONFIG_PID_NS: enabled
> > - CONFIG_IPC_NS: enabled
> > - CONFIG_UTS_NS: enabled
> > - CONFIG_DEVPTS_MULTIPLE_INSTANCES: enabled
> > - CONFIG_CGROUPS: enabled
> > - CONFIG_CGROUP_CPUACCT: enabled
> > - CONFIG_CGROUP_DEVICE: enabled
> > - CONFIG_CGROUP_FREEZER: enabled
> > - CONFIG_CGROUP_SCHED: enabled
> > - CONFIG_CPUSETS: enabled
> > - CONFIG_MEMCG: enabled
> > - CONFIG_KEYS: enabled
> > - CONFIG_VETH: enabled
> > - CONFIG_BRIDGE: enabled
> > - CONFIG_BRIDGE_NETFILTER: enabled
> > - CONFIG_NF_NAT_IPV4: enabled
> > - CONFIG_IP_NF_FILTER: enabled
> > - CONFIG_IP_NF_TARGET_MASQUERADE: enabled
> > - CONFIG_NETFILTER_XT_MATCH_ADDRTYPE: enabled
> > - CONFIG_NETFILTER_XT_MATCH_CONNTRACK: enabled
> > - CONFIG_NETFILTER_XT_MATCH_IPVS: enabled
> > - CONFIG_NF_NAT: enabled
> > - CONFIG_NF_NAT_NEEDED: enabled
> > - CONFIG_POSIX_MQUEUE: enabled
> > --
> > _______________________________________________
> > meta-virtualization mailing list
> > meta-virtualization at yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/meta-virtualization




More information about the meta-virtualization mailing list