error while loading shared libraries: libudev.so.0 - Brackets

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?


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


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