Frage

I downloaded the 32-bit chromedriver version on my Ubuntu 12.04 machine.

However, it won't run and exits with the following message. I have searched various places on the internet but failed to find a solution.

./chromedriver: error while loading shared libraries: libXi.so.6: cannot open shared object file: No such file or directory
War es hilfreich?

Lösung

libXi.so.6 is provided by libxi6. Chromedriver will then also ask for libgconf-2-4 with a similar message.

sudo apt-get install libxi6 libgconf-2-4

Whenever facing an issue of missing a specific file apt-file comes to rescue:

$ apt-file search libXi.so.6
libxi6: /usr/lib/x86_64-linux-gnu/libXi.so.6
libxi6: /usr/lib/x86_64-linux-gnu/libXi.so.6.1.0
libxi6-dbg: /usr/lib/debug/usr/lib/x86_64-linux-gnu/libXi.so.6.1.0

This can be installed via apt-get:

sudo apt-get install apt-file && apt-file update  # install and fill the index

Andere Tipps

Try this command, which will fix the minor issues in libraries. Worked for me.

sudo apt --fix-broken install
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top