[英]“No such file or directory” when running cross compiled dart runtime
I'm running the cross compiled version of Dart runtime. 我正在运行Dart运行时的交叉编译版本。 The executable has been produced using the following instructions: https://code.google.com/p/dart/wiki/RaspberryPi
该可执行文件是根据以下说明生成的: https : //code.google.com/p/dart/wiki/RaspberryPi
When I run it I get this error: 当我运行它时,出现此错误:
-bash: ./dart: No such file or directory
ldd
output: ldd
输出:
pi@raspberrypi ~/dart/runtime $ ldd dart
not a dynamic executable
file
output: file
输出:
pi@raspberrypi ~/dart/runtime $ file dart
dart: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.26, BuildID[sha1]=0xb0dc8037ff83ff0742749241be56d7b8935efa6f, not stripped
Not really an answer but I've found that using the last release of Raspbian (Debian Wheezy 2014-09-09) the executable works fine. 并不是一个真正的答案,但我发现使用Raspbian的最新版本(Debian Wheezy 2014-09-09)可执行文件可以正常工作。 So I think the cause is something old in my current Raspbian installation (I've updated it with the last updates but it is not sufficient).
因此,我认为原因是我当前的Raspbian安装中存在一些旧问题(我已经用最近的更新对其进行了更新,但这还不够)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.