From: Suyash Date: Tue, 10 Mar 2015 23:22:16 +0000 (+0530) Subject: :memo: add troubleshooting instructions for libudev.so.0 failure X-Git-Tag: v0.22.0~8^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=860b15ef8a39ac50abfbde11234fe01e0822a04c;p=electron.git :memo: add troubleshooting instructions for libudev.so.0 failure 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 --- diff --git a/docs/development/build-instructions-linux.md b/docs/development/build-instructions-linux.md index eb0df9ee..a7895d22 100644 --- a/docs/development/build-instructions-linux.md +++ b/docs/development/build-instructions-linux.md @@ -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