2

I got this error while booting

'mount: error while loading shared libraries: libudev.so.0 : no such file or directory' 

Then i followed this

I Booted into recovery mode and opened terminal and installed libudev0 using
apt-get install libudev0

It says its already installed

Even i linked libudev0 and libudev1 as mentioned here But no gain :(

EDIT: Output of locate -e libudev.so.0

/lib/i386-linux-gnu/libudev.so.0
/lib/i386-linux-gnu/libudev.so.0.13.0
/lib/x86_64-linux-gnu/libudev.so.0.13.0

2 Answers2

3

I am guessing that you are running a 64bit system. If so, this dirty hack should work:

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

That will crate a link named libudev.so.0 that points to /lib/x86_64-linux-gnu/libudev.so.0.13.0.

terdon
  • 104,119
0

i had the same problem on ubuntu 12.04 x64, solved it fast first remounting with

sudo mount -o remount, rw /

then locating the libudev.so.0

locate -e libudev.so.0

then doin the "dirty trick"

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

worked perfectly to me, thanx Terdon!

muru
  • 207,228