I managed to install Tizen (version 6/Unified) on RaspberryPi4 and now I am trying to install NodeJS, version 8 or greater:
$ curl -O https://nodejs.org/dist/v8.9.4/node-v8.9.4-linux-armv7l.tar.gz
$ tar -xf node-v8.9.4-linux-armv7l.tar.gz --directory /usr/local --strip-components 1
$ cd /usr/local/bin
$ ls
node npm npx
Then I want to verify with:
node -v
but it returns:
bash: /usr/local/bin/node: No such file or directory
What am I missing?
Edit:
$ file /usr/local/bin/node
/usr/local/bin/node: ELF 32-bit LSB executable, ARM, EABI5 version 1 (GNU/Linux), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 2.6.26, BuildID[sha1]=a5fb63d28c3df67556a467e16c7f8a22514de1b3, with debug_info, not stripped
$ file /bin/ls
/bin/ls: ELF 32-bit LSB pie executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.3, BuildID[sha1]=40037c7fa87a4759ca2a7deee772a008b05cea97, for GNU/Linux 3.2.0, stripped
It seems I need to compile it on my own. /lib/ld-linux-armhf.so.3 is not present in my system.