geo8bit / nodebob

nodebob is a build tool for node-webkit.
235 stars 46 forks source link

cannot run on ubuntu #15

Open rationalboss opened 10 years ago

rationalboss commented 10 years ago

i was able to compile the sample app using build.linux.sh. there were two folders created: release.linux-ia32 release.linux-x64

inside these two directories is the application 'app' which i cannot run:

rationalboss@ubuntu:~/Downloads/nodebob-master/release.linux-ia32$ ./app ./app: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory

rationalboss@ubuntu:~/Downloads/nodebob-master/release.linux-ia32$ ./app ./app: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory

apolllo commented 10 years ago

The problem with libudev.so.0 is actually a node-webkit problem, not nodebob. You can find ways of resolving this here: https://github.com/rogerwang/node-webkit/wiki/The-solution-of-lacking-libudev.so.0 https://www.exponential.io/blog/install-node-webkit-on-ubuntu-linux

Personally I just created a symlink like this cd /lib/i386-linux-gnu/ sudo ln -sf libudev.so.1 libudev.so.0