Cannot execute nodejs
Hi everyone,
I've installed nodejs and node-red by using meta-oe and meta-iot-cloud, with
IMAGE_INSTALL_append = " nodejs node-red bash"
it was initially working but then I've got some pseudo aborts that fixed automatically and then I saw that:
- /usr/bin/node doesn't have the +x flag
- the file is 1.1G big (however the image is 200MB)
- trying to run it says "cannot execute binary file: Exec format error"
any idea why?
Target is core-image-minimal with machine qemuarm.
I've checked the source of the file with oe-pkgdata-util find-path it came from the nodejs recipe. I've also tried bitbake -c clean nodejs and nothing changed
I was able to solve it by forcing recompiling nodejs with bitbake -f -c compile nodejs
Not sure what happened there
--
Alessandro Tagliapietra
Quoted 22 lines · Alessandro Tagliapietra
Hi everyone,
I've installed nodejs and node-red by using meta-oe and meta-iot-cloud, with
IMAGE_INSTALL_append= " nodejs node-red bash"it was initially working but then I've got some pseudo aborts that fixed automatically and then I saw that:
-/usr/bin/nodedoesn't have the +x flag
- the file is 1.1G big (however the image is 200MB)
- trying to run it says "cannot execute binary file: Exec format error"any idea why?
Target is core-image-minimal with machine qemuarm.
I've checked the source of the file withoe-pkgdata-util find-pathit came from the nodejs recipe. I've also tried bitbake -c clean nodejs and nothing changed