Failed to install GTK3.4 (libgtk-3.so.0) to start Firefox on AWS ec2

I am trying to run my selenium script, which was developed in Selenium 2.53.0 using firefox 46 in a lifeless AWS linux server. AWS has GTK2.0, and Firefox 46 is compatible with GTK3.4 and higher. I tried to install GTK 3.4 from the specified links and it is installed, but still I get an error

XPCOMGlueLoad error for file /usr/local/firefox/libmozgtk.so:
libgtk-3.so.0: cannot open shared object file: No such file or directory
Couldn't load XPCOM.

I do not have libgtk-3.so.0 installed on my system, hence the error. If somebidy can help me on how to update / install GTK 3.4 along with the indicated libraries to run my firefox on AWS EC2 server, it will be really useful. The links I used are: http://ftp.gnome.org/pub/gnome/sources/gtk+/3.4/gtk+-3.4.0.tar.xz  ftp://fr2.rpmfind.net/linux/fedora/linux /development/rawhide/Everything/x86_64/os/Packages/g/gtk3-3.22.15-2.fc27.x86_64.rpm install GTK3 Installed Firefox 46 using the code https://gist.github.com/joekiller/4144838 from here .

Thank.

+4
source share

Source: https://habr.com/ru/post/1679418/


All Articles