error while loading shared libraries: libXrandr.so.2: cannot open shared object file: No such file or directory

So you got this, huh:

error while loading shared libraries: libXrandr.so.2: cannot open shared object file: No such file or directory

To fix it, type the following in your Terminal:

sudo apt-get install libxrandr2:i386