Friday 5 May 2017

ARM v6: -bash: ./node: No such file or directory (cannot execute binary)

I have seen various posts regarding the problem running NodeJS, however, this one is a different case since I am not installing it, rather running directly from the bin folder.

I am trying to set up NodeJS on a mini6410 board which is an ARM v6. I downloaded the appropriate binary from https://nodejs.org/en/download/current/ however, I simply cannot run the binary: it complains that no such file or directory exists. I can read the contents of the binary and make sure that it indeed does lie there. I tried changing permissions to 755 using chmod, however, I just cannot run the binary.

Downloading binary and executing it works fine on Ubuntu on desktop, I don't understand why same is not the case here on ARM v6.

root@strela:~# cd node-v7.10.0-linux-armv6l
root@strela:~/node-v7.10.0-linux-armv6l# ls
CHANGELOG.md  LICENSE  README.md  bin  include lib  share
root@strela:~/node-v7.10.0-linux-armv6l# cd bin
root@strela:~/node-v7.10.0-linux-armv6l/bin# ls
node  npm
root@strela:~/node-v7.10.0-linux-armv6l/bin# ./node
-bash: ./node: No such file or directory
root@strela:~/node-v7.10.0-linux-armv6l/bin# 



via Cosmonavt

No comments:

Post a Comment