]> khamidou — GitHub mirrors - electron.git/commitdiff
:memo: add troubleshooting instructions for libudev.so.0 failure
authorSuyash <dextrous93@gmail.com>
Tue, 10 Mar 2015 23:22:16 +0000 (04:52 +0530)
committerSuyash <dextrous93@gmail.com>
Wed, 11 Mar 2015 06:47:22 +0000 (12:17 +0530)
Adding the easiest solution for solving the missing libudev.so.0 error
on ubuntu 13.04+.

I had to do this on my own machine running ubuntu 14.04.2 to build atom.

The solution is also referenced in
https://github.com/nwjs/nw.js/wiki/The-solution-of-lacking-libudev.so.0

docs/development/build-instructions-linux.md

index eb0df9ee3fbeca95ef110fb2d73e4e815aa8cd53..a7895d22261e2e7294a3a3d078dc0e3a2b3e4c37 100644 (file)
@@ -90,6 +90,30 @@ If you got an error like this:
 libchromiumcontent.so is build with clang 3.0 which is incompatible with newer
 versions of clang. Try using clang 3.0, default version in Ubuntu 12.04.
 
+### libudev.so.0 missing
+
+If you get an error like:
+
+````
+/usr/bin/ld: warning: libudev.so.0, needed by /home/suyash/projects/atom-shell/vendor/brightray/vendor/download/libchromiumcontent/Release/libchromiumcontent.so, not found (try using -rpath or -rpath-link)
+````
+
+and you are on Ubuntu 13.04+, 64 bit system, try doing
+
+```bash
+sudo ln -s /lib/x86_64-linux-gnu/libudev.so.1.3.5 /usr/lib/libudev.so.0
+```
+
+for ubuntu 13.04+ 32 bit systems, try doing
+
+```bash
+sudo ln -s /lib/i386-linux-gnu/libudev.so.1.3.5  /usr/lib/libudev.so.0
+```
+
+also see
+
+https://github.com/nwjs/nw.js/wiki/The-solution-of-lacking-libudev.so.0
+
 ## Tests
 
 ```bash