libudev.so.0 not found on Ubuntu 14.04

I recently had an application that would throw this error when invoked:

error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory

The workaround is a symbolic link to libudev.so.1 .

In my case, this was the command that resolved the issue:

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

Your paths may be different, but hopefully this can get you on the right track.

1 thought on “libudev.so.0 not found on Ubuntu 14.04”

  1. hello, i am having these error associated with the libudev: mountall: error while loading shared libraries: libudev.so.0: cannot open shared object files: no such file or directory
    these is the error i enter the command and it says that is only read-only file system.
    initially i enter these command:

    sudo find / -name “libudev.so.*”
    the result
    /lib/x86_64-linux-gnu/libudev.so.0.13.0

    i think i delete the symbolic of libudev.0.

    then i enter:
    sudo ln -s /lib/x86_64-linux-gnu/libudev.so.0.13.0/lib/x86_64-linux-gnu/libudev.so.0.13.0

Leave a Reply