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
vikneshwar
  • 123
  • 5

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
  • 100,812
  • gives error. ln:failed to create symbolic link. '/lib/x86_64-linux-gnu/libudev.so.0.13.0 ' : File exists – vikneshwar Mar 09 '14 at 17:16
  • @viks did you copy the exact command? It sounds like you ran sudo ln -s /lib/x86_64-linux-gnu/libudev.so.0.13.0 /lib/x86_64-linux-gnu/ instead. – terdon Mar 09 '14 at 17:19
  • ya i used the exact command , thanks for your help , used -f flag with the command and it worked – vikneshwar Mar 09 '14 at 17:26
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
  • 197,895
  • 55
  • 485
  • 740