Fedy2
Fedy2

Reputation: 3207

"No such file or directory" when running cross compiled dart runtime

I'm running the cross compiled version of Dart runtime. The executable has been produced using the following instructions: 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:

pi@raspberrypi ~/dart/runtime $ ldd dart 
    not a dynamic executable

file output:

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

Upvotes: 0

Views: 1191

Answers (1)

Fedy2
Fedy2

Reputation: 3207

Not really an answer but I've found that using the last release of Raspbian (Debian Wheezy 2014-09-09) the executable works fine. 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).

Upvotes: 1

Related Questions