spolu / breach_core

A Browser written in JS. Free. Modular. Hackable.
https://breach.github.io/breach_core/
MIT License
5.39k stars 411 forks source link

libudev.so.0: cannot open shared object file on Ubuntu 14.10 #195

Open pixelr0 opened 10 years ago

pixelr0 commented 10 years ago

i get this error when running breach in Ubuntu 14.10 AMD 64

pixel@pixel:~/Downloads/breach-v0.3.22-alpha.6-linux-x64$ CHROME_DEVEL_SANDBOX=/opt/google/chrome/chrome-sandbox ./breach /home/pixel/Downloads/breach-v0.3.22-alpha.6-linux-x64/AUTO_UPDATE_BUNDLE/exo_browser/exo_browser: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory

there is /opt/google/chrome/libudev.so.0

/lib/x86_64-linux-gnu/libudev.so.1 /lib/x86_64-linux-gnu/libudev.so.1.4.0

morganrallen commented 10 years ago

Try running as

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/google/chrome CHROME_DEVEL_SANDBOX=/opt/google/chrome/chrome-sandbox ./breach

pixelr0 commented 10 years ago

thanks @morganrallen that worked

pixelr0 commented 10 years ago

i'm keeping this issue opened because this is a workaround, doesn't really fix the problem on Ubuntu.

archie-rp commented 10 years ago

I solve the same problem on arch linux installing from yaourt : aur/libudev.so.0 :)

pixelr0 commented 10 years ago

oh you, arch user :> unfortunately libudev.so.0 is not in Ubuntu's repository (13.10+)

archie-rp commented 10 years ago

try this http://askubuntu.com/questions/369310/how-to-fix-missing-libudev-so-0-for-chrome-to-start-again

archie-rp commented 10 years ago

check if you have that file "sudo find / -name libudev*" then do like ln -s /usr/lib/libudev.so.0 -> /usr/lib/libudev.so

ghost commented 9 years ago

You can fix the issue by creating an according symlink.

On 64-bit systems things should go somewhat like this:

sudo ln -s /lib/x86_64-linux-gnu/libudev.so.1 /usr/lib/libudev.so.0

On 32-bit systems things need the related 32-bit paths:

sudo ln -s /lib/i386-linux-gnu/libudev.so.1  /usr/lib/libudev.so.0

Don’t forget to verify your local version of libudev is indeed "libudev.so.1". If it isn’t, modify that part so that it fits your local libudev version.

MuhamedAuda commented 9 years ago

@e-sushi thanks work for me , The error was cased by Pingendo program (Boostrap layout Crator) ...

sk8darr commented 8 years ago

Thanks @e-sushi ! works perfectly