anmonteiro/lumo

NPM installs 64-bit binary on 32-bit x86

Open

#76 opened on Feb 17, 2017

View on GitHub
 (7 comments) (0 reactions) (0 assignees)Clojure (1,875 stars) (83 forks)batch import
help wanted

Description

When installing lumo through npm on a 32-bit system I get a 64-bit binary installed:

$ sudo npm install -g lumo-cljs
$ lumo 
bash: /usr/bin/lumo: det går inte att köra binär fil: Formatfel på körbar fil
$ file /usr/bin/lumo
/usr/bin/lumo: symbolic link to ../lib/node_modules/lumo-cljs/bin/lumo
$ file /usr/lib/node_modules/lumo-cljs/bin/lumo 
/usr/lib/node_modules/lumo-cljs/bin/lumo: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.24, BuildID[sha1]=a932d43de9ba2f3d322ba0aa7dd0ff79629415ae, not stripped
$ uname -a
Linux ThinkT420s 4.4.0-62-generic #83-Ubuntu SMP Wed Jan 18 14:09:55 UTC 2017 i686 i686 i686 GNU/Linux

Contributor guide