Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CLOSED] Ubuntu 13.04 (64 bit) won't launch Brackets, libudev.so.0 error #4362

Open
core-ai-bot opened this issue Aug 29, 2021 · 18 comments
Open

Comments

@core-ai-bot
Copy link
Member

Issue by Garbee
Friday Aug 09, 2013 at 12:33 GMT
Originally opened as adobe/brackets#4720


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?

@core-ai-bot
Copy link
Member Author

Comment by thefirstofthe300
Friday Aug 09, 2013 at 17:45 GMT


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.

@core-ai-bot
Copy link
Member Author

Comment by jasonsanjose
Friday Aug 09, 2013 at 18:05 GMT


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.

@core-ai-bot
Copy link
Member Author

Comment by Garbee
Friday Aug 09, 2013 at 18:31 GMT


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.

@core-ai-bot
Copy link
Member Author

Comment by aurangzaib
Saturday Aug 10, 2013 at 12:06 GMT


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

@core-ai-bot
Copy link
Member Author

Comment by thefirstofthe300
Saturday Aug 10, 2013 at 19:15 GMT


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:
adobe/brackets#4720 (comment)

Danny Seymour
[email protected]

@core-ai-bot
Copy link
Member Author

Comment by opensas
Tuesday Aug 13, 2013 at 03:28 GMT


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

@core-ai-bot
Copy link
Member Author

Comment by kapcom01
Thursday Aug 15, 2013 at 14:15 GMT


This workouround worked for me too.

@core-ai-bot
Copy link
Member Author

Comment by jasonsanjose
Friday Aug 16, 2013 at 21:30 GMT


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

@core-ai-bot
Copy link
Member Author

Comment by jasonsanjose
Friday Aug 16, 2013 at 21:42 GMT


@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.

@core-ai-bot
Copy link
Member Author

Comment by jasonsanjose
Friday Aug 16, 2013 at 22:21 GMT


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.

@core-ai-bot
Copy link
Member Author

Comment by kapcom01
Friday Aug 16, 2013 at 23:46 GMT


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

@core-ai-bot
Copy link
Member Author

Comment by emyller
Saturday Aug 17, 2013 at 22:59 GMT


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.

@core-ai-bot
Copy link
Member Author

Comment by WhyNotHugo
Tuesday Aug 20, 2013 at 02:16 GMT


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

@core-ai-bot
Copy link
Member Author

Comment by jasonsanjose
Tuesday Aug 20, 2013 at 18:39 GMT


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

@core-ai-bot
Copy link
Member Author

Comment by Garbee
Tuesday Aug 20, 2013 at 23:33 GMT


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

@core-ai-bot
Copy link
Member Author

Comment by jasonsanjose
Wednesday Aug 21, 2013 at 01:11 GMT


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

@core-ai-bot
Copy link
Member Author

Comment by eduardoklosowski
Wednesday Mar 19, 2014 at 20:18 GMT


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.

@core-ai-bot
Copy link
Member Author

Comment by vcfvct
Friday Oct 16, 2015 at 03:50 GMT


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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant