Dica-Developer / generator-node-webkit

Yeoman generator for nwjs applications
MIT License
282 stars 40 forks source link

automate libudev.so.0 to libudev.so.1 #50

Open ghost opened 10 years ago

ghost commented 10 years ago

I know of this error on linux (I run ubuntu 14.04 64 bit) with libudev.so.0 cannot be found.

One solution is to use ghex to change "libudev.so.0" to "libudev.so.1".

But this means the auto build with "grunt dist-linux" still needs manual changing of the "node-webkit" binary to "libudev.so.1".

Is there any soluton to this problem (it breaks the flow)

mschaaf commented 10 years ago

We could bundle the libudev.so.0 library that is used for compilation.

Faking the library version can fail at some point in the future. Thats why I don't like to solve it this way.

ghost commented 10 years ago

See this for some ways of fixing this from node-webkit: https://github.com/rogerwang/node-webkit/wiki/The-solution-of-lacking-libudev.so.0