Jul 23, 2014

64-bit Linux libXi.so.6 and libXtst.so.6 error fix

If you're running 64 bit Linux and you're receiving an error saying the file is not found, you may need the 32 bit files below.

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 have libXtst.so.6 but do have libXtst.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 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

No comments:

Post a Comment