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
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With