I am trying to run an exe which uses libudev.so
but it gives this error :
error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory
Running uname -a
gives :
3.5.0-44-generic #67~precise1-Ubuntu SMP Wed Nov 13 16:16:57 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
I am using Ubuntu 12.04
I have checked /lib
/lib32
/lib64
there is no libudev in there
but in Synaptic manager I can see libudev0
installed (see image below)
and I could find it in /lib/x86_64-linux-gnu/libudev.so.0
.
What could be wrong?
In general, if the package shared library name is lib, the error sometimes shows the following : “error while loading shared libraries: lib.so.X: cannot open shared object file: No such file or directory “ Where X is a number.
cannot open shared object file: No such file or directory. The reason behind this error is that the libraries of the program have been installed in a place where dynamic linker cannot find it. Fix ‘cannot open shared object file: No such file or directory’ error
To install libudev.so.0 we need to download and install libudev0_175-0ubuntu9 manually. This can be accomplished by using the gdebi command. If you do not have the gdebi command available you can install it by:
I just followed this instructions and it works just fine.
https://askubuntu.com/questions/369310/how-to-fix-missing-libudev-so-0-for-chrome-to-start-again
sudo ln -s /lib/x86_64-linux-gnu/libudev.so.1.3.5 /usr/lib/libudev.so.0
Try creating symbolic link:
sudo ln -s /lib/x86_64-linux-gnu/libudev.so.1 /lib/x86_64-linux-gnu/libudev.so.0
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With