mac下連intel edison開發(fā)板(yocto系統(tǒng)),用不了configure_edison這個(gè)命令
系統(tǒng):Poky (Yocto Project Reference Distro) 1.6 edison
img-version : edison-rel1-maint-weekly_build_16_2014-10-14_14-56-19
root@edison:/# /usr/bin/configure_edison
-sh: /usr/bin/configure_edison: not found
root@edison:/# ls -l /usr/bin/configure_edison
-rwxr-xr-x 1 root root 34356 Oct 14 13:24 /usr/bin/configure_edison
可執(zhí)行沒錯(cuò),存在沒錯(cuò),為什么會(huì)顯示not found呢
走同樣的路,發(fā)現(xiàn)不同的人生
On some systems, when ld-linux is inconsistent, a not found error is reported. ldd configure_edison
Make sure the correct ld-linux is linked
Tested on debian
, ubuntu
and centos
systems, if you directly run a command like /usr/bin/configure_edison
but the file does not exist, a No such file or directory
error will be prompted. And if you execute a command similar to bash /usr/bin/configure_edison
but bash
does not exist, a command not found
error will be prompted. I'm not familiar with the Yocto
system, so I don't know if the situation is similar. It is recommended to check whether the sh
command runs other programs (such as sh ls -l
) normally; then try sh /usr/bin/configure_edison
Look at ldd, sometimes so can’t be found and it will prompt that the file does not exist.