Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Ubuntu 13.04 (64 bit) won't launch Brackets, libudev.so.0 error #4720

Closed
Garbee opened this issue Aug 9, 2013 · 18 comments
Closed

Ubuntu 13.04 (64 bit) won't launch Brackets, libudev.so.0 error #4720

Garbee opened this issue Aug 9, 2013 · 18 comments

Comments

@Garbee
Copy link

Garbee commented Aug 9, 2013

I downloaded the .deb version (auto-recommended by the page) from the official download page to my system. It is Ubuntu 13.04 64bit. I then executed sudo dpkg -i brackets-sprint-28-LINUX64.deb for it. From there it appeared to install just fine without any extra dependencies needed. I then went to execute brackets from my shell, and I am getting the following error:

/usr/lib/brackets/Brackets: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory

This error is shown whether I am running it directly, trying to open a file, or even using the --help flag.

Is there any information I am leaving out that is useful?

@ghost ghost assigned jasonsanjose Aug 9, 2013
@thefirstofthe300
Copy link
Contributor

I had this problem and just linked the existing libudev.so.* to lib.udev.so.0.

PS @jasonsanjose I tried installing libudev0 using apt-get and it appears to be missing. I think we will need to somehow link the existing libudev to libudev.so.0.

@jasonsanjose
Copy link
Member

Oops. Deleted my prior comment, bad workaround. Seems like node-webkit (also based on CEF) has the same issue: https://github.com/rogerwang/node-webkit/wiki/The-solution-of-lacking-libudev.so.0.

I'll investigate further to see what we can do for Brackets.

@Garbee
Copy link
Author

Garbee commented Aug 9, 2013

Awesome @DaBungalow. I just confirmed that in my case going into /lib/x86_64-linux-gnu and then executing ln -s libudev.so.1 libudev.so.0 is the fix for manually getting the current sprint to work.

@aurangzaib
Copy link

for Ubuntu 13.04 32bit :
sudo apt-get install libudev1 && cd /lib/i386-linux-gnu/ && sudo ln -s libudev.so.1 libudev.so.0

@thefirstofthe300
Copy link
Contributor

Yup. It helps to have libudev1 installed. :)

On 8/10/13, Aurangzaib [email protected] wrote:

for Ubuntu 13.04 32bit :
sudo apt-get install libudev1 && cd /lib/i386-linux-gnu/ && sudo ln -s
libudev.so.1 libudev.so.0


Reply to this email directly or view it on GitHub:
#4720 (comment)

Danny Seymour
[email protected]

@opensas
Copy link

opensas commented Aug 13, 2013

just a +1 to confirm the issue, and the solution proposed for node+webkit

https://github.com/rogerwang/node-webkit/wiki/The-solution-of-lacking-libudev.so.0

in that article there's also an explanation on how to fix the .deb file

@kapcom01
Copy link

This workouround worked for me too.

@jasonsanjose
Copy link
Member

I fixed this in the sprint 29 build. Waiting to hear more feedback before closing.

@jasonsanjose
Copy link
Member

@Garbee Can you try the sprint 29 build? We're now using the same technique that the google-chrome debian package uses to work around this problem.

@jasonsanjose
Copy link
Member

Unfortunately, I'm seeing more reports of this issue with sprint 29. @DavidBruant filed a duplicate bug #4799 and @erichstark filed a duplicate in #4785.

@kapcom01
Copy link

with sprint 29 for me (ubuntu 13.04 32bit) the problem is exactly the same. i have to: cd /lib/i386-linux-gnu/ && sudo ln -s libudev.so.1 libudev.so.0

@emyller
Copy link

emyller commented Aug 17, 2013

Problem still exists in Ubuntu 13.04 64bit. Linking libudev.so.1 to libudev.so.0 inside /lib/x86_64-linux-gnu works for me.

@WhyNotHugo
Copy link

Not just an Ubuntu issue, reproducible on ArchLinux, as well as a few other up-to-date distros.

@jasonsanjose
Copy link
Member

There's a test build linked from adobe/brackets-shell#305 that should fix the dependency issues.

@Garbee
Copy link
Author

Garbee commented Aug 20, 2013

@jasonsanjose I just tested the fixed build you linked to on 13.04 (64bit) and it is working flawlessly.

@jasonsanjose
Copy link
Member

Closing. Fixed in adobe/brackets-shell#305.

@eduardoklosowski
Copy link

I have same problem with Sprint 37 on Debian testing (jessie). If I install libudev0 from stable (wheezy) works without problens.

In ldd command, libudev.so.0 list has "not found", but install package because in depends is "libudev0 (>= 147) | libudev1 (>= 198)" and libudev1 is installed and listed in ldd output.

@vcfvct
Copy link

vcfvct commented Oct 16, 2015

The problem still exist in Ubuntu 15.04 and brackets 1.5.
@emyller and @aurangzaib 's solutions work for 32bit and 64bit ubuntu.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

11 participants