Ubuntu – How to resolve a “Cannot open shared object file libudev.so.0” error

shared librarysoftware installation

Trying to run Game Dev Tycoon on Ubuntu 64. It asks for the above object.

I ran sudo apt-get install libudev1:i386 and it came back already installed.

I have /lib/i386-linux-gnu/libudev.so.1 but no libudev.so.0 anywhere.

Best Answer

For 64-bit Ubuntu, it is in the 32-bit libudev0 package.

You can install that with the following command:

sudo apt-get install libudev0:i386

This package was removed from Ubuntu in 14.04. You will need to install it from an older version.