Copied from the two sites below for reference:
http://stackoverflow.com/questions/17355863/cant-find-install-libxtst-so-6
Quoted:
Type:$ sudo apt-get update $ sudo apt-get install libxtst6
if this isn't OK.Type:$ sudo updatedb $ locate libXtst
it should return something like:/usr/lib/x86_64-linux-gnu/libXtst.so.6 # Mine is OK /usr/lib/x86_64-linux-gnu/libXtst.so.6.1.0
If you do not havelibXtst.so.6
but do havelibXtst.so.6.X.X
create a symbolic link:$ cd /usr/lib/x86_64-linux-gnu/ $ ln -s libXtst.so.6 libXtst.so.6.X.X
Hope this helps.
http://stackoverflow.com/questions/22924339/chromedriver-on-ubuntu-12-04-error-while-loading-shared-libraries-libxi-so-6
Quoted:
libXi.so.6
is provided bylibxi6
. Chromedriver will then also ask forlibgconf-2-4
with a similar message.sudo apt-get install libxi6 libgconf-2-4
Whenever facing an issue of missing a specific fileapt-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