2

Yesterday I was installing Watchman from Facebook and I mysterious broke something.

Whenever I run a program installed with snap-store it throws this Error:

/snap/snapd/11107/usr/lib/snapd/snap-confine: error while loading shared libraries: libudev.so.1: failed to map segment from shared object

I have tried all possible solutions I found online but they are not working.

Pizza
  • 1,428
crispy
  • 45
  • What exactly did you try so far? Please edit your question and tell us what tutorials / steps you've tried, and what was the outcome. – Pizza Mar 04 '21 at 10:59
  • ls -al /lib/x86_64-linux-gnu/libudev.so.1 any output? – nobody Mar 04 '21 at 11:05
  • lrwxrwxrwx 1 root root 17 Jan 6 22:47 /lib/x86_64-linux-gnu/libudev.so.1 -> libudev.so.1.6.17 this is the output @nobody – crispy Mar 04 '21 at 11:09
  • @Pizza When you search for the same error on StackExchange you get a lot of answers which does not work on my machine – crispy Mar 04 '21 at 11:11
  • any helpful here? https://askubuntu.com/questions/288821/how-do-i-resolve-a-cannot-open-shared-object-file-libudev-so-0-error – nobody Mar 04 '21 at 12:02
  • E: Package 'libudev0:i386' has no installation candidate this is the output @nobody – crispy Mar 04 '21 at 12:05
  • sudo dpkg --add-architecture i386 and sudo apt update – nobody Mar 04 '21 at 12:13
  • Still i am getting the same Error E: Package 'libudev0:i386' has no installation candidate @nobody – crispy Mar 04 '21 at 12:44
  • 1
    sudo apt install libudev1:i386 – nobody Mar 04 '21 at 12:47
  • I installed this package what is next ? @nobody – crispy Mar 04 '21 at 12:49
  • because that package did not solve the issue – crispy Mar 04 '21 at 13:12
  • 1
    This goes to @nobody and actually all you have suggested is true and other solutions i found were also true but they forget to mention that you need to reload the configurations using this command sudo ldconfig /lib/x86_64-linux-gnu/ – crispy Mar 05 '21 at 09:42
  • 1
    You should post your solution as an answer for anybody to use it - and also accept the answer. – cipricus Feb 14 '23 at 10:13

0 Answers0