Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I recently updated my system via sudo pacman -Syu. Afterwards, I proceeded to open Google Chrome, but it failed. When I tried to start it via the terminal I got the error.

/usr/bin/google-chrome: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory

What is going on?

share|improve this question
add comment

2 Answers

up vote 4 down vote accepted

If you installed it from AUR, reinstall (yaourt -S) and then it will work again.

A link to /usr/lib/libudev.so.1.0.1 will be created in the google-chrome folder.

share|improve this answer
add comment

The reason for this error is because of the transition from udev to systemd-tools. During this update /usr/lib/libudev.so.0 is renamed /usr/lib/libudev.so.1.0.1.

A nasty, dirty hack which just happens to work is to create a symbolic link from the later to the former. Like so.

# ln -sf /usr/lib/libudev.so.1.0.1 /usr/lib/libudev.so.0

To clarify, the solution is to recompile the application so that it links to the new so, /usr/lib/libudev.so.1.0.1. Unfortunately, Google Chrome (as opposed to Chromium) is provided as a binary package, and therefore we are unable to recompile it, so for now, the nasty, dirty hack is the best we can do while waiting for Google to fix it.

share|improve this answer
add comment

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.