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

3 Answers 3

up vote 12 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

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

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.