Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Running 32 bit exe on Ubuntu :libudev.so : cannot open shared object file: No such file or directory

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)

libudev on Synaptic Manager and I could find it in /lib/x86_64-linux-gnu/libudev.so.0.

What could be wrong?

like image 833
Raulp Avatar asked Jan 16 '14 04:01

Raulp


People also ask

What is the error while loading shared libraries in Linux?

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.

What does ‘cannot open shared object file’ mean?

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

How do I install libudev0_175-0ubuntu9?

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:


2 Answers

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
like image 149
Isaac Leal Avatar answered Oct 23 '22 08:10

Isaac Leal


Try creating symbolic link:

sudo ln -s /lib/x86_64-linux-gnu/libudev.so.1 /lib/x86_64-linux-gnu/libudev.so.0
like image 23
Weston Ganger Avatar answered Oct 23 '22 08:10

Weston Ganger