From 860b15ef8a39ac50abfbde11234fe01e0822a04c Mon Sep 17 00:00:00 2001 From: Suyash Date: Wed, 11 Mar 2015 04:52:16 +0530 Subject: [PATCH] :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 --- docs/development/build-instructions-linux.md | 24 ++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/docs/development/build-instructions-linux.md b/docs/development/build-instructions-linux.md index eb0df9ee3fbe..a7895d22261e 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