Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I installed Brackets on Lubuntu 13.04.

When I use the command brackets to open it, I get the error:
/usr/lib/brackets/Brackets: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory.

How can I get Brackets to work?

share|improve this question

5 Answers 5

up vote 14 down vote accepted

I found the solution in this Github issue.

You have to link the existing libudev.so.1 to the requested libudev.so.0; to do so, run the command

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

NOTE: You might need to prefix this command with sudo to gain root privileges. In which case it would look like this:

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

share|improve this answer
    
Thanks! That worked! –  Dillmo Aug 16 '13 at 21:21

What you can try is to link the installed files to the ones the program is looking for:

sudo apt-get install libudev1 && cd /lib/i386-linux-gnu/ && sudo ln -s libudev.so.1 libudev.so.0
share|improve this answer
    
Well that worked for my spotify problem –  Daan Luttik Sep 21 at 15:38

Also, as peterflynn said

Note for anyone else encountering this (from #8553): a "libudev.so.0" error when installing Brackets on 64-bit Linux may indicate you downloaded a 32-bit version of Brackets by accident.

share|improve this answer

I agree with the solution

sudo ln -s <libudevpath>/libudev.so.1 <libudevpath>/libudev.so.0

However, if you just blindly assume to find libudev1 in /lib/i386-linux-gnu/, it might not be there. If libudev1 installs somewhere else, you can find it using:

sudo find / -name "libudev.so*"
share|improve this answer

I agree with the solution

sudo ln -s <libudevpath>/libudev.so.1 <libudevpath>/libudev.so.0

This creates a symbolic link between two files. Whenever an application looks for <libudevpath>/libudev.so.0 (which deosn't really exist), it will follow this link and use <libudevpath>/libudev.so.1 instead.

However, if you just blindly assume to find libudev1 in /lib/x86_64-linux-gnu, it might not be there. If libudev1 installs somewhere else, you can find it using:

sudo find / -name "libudev.so*"
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.