shared libraries libgconf-2.so.4 is missing

Pankaj picture Pankaj · Jun 4, 2016 · Viewed 50.5k times · Source

I want to install chromedriver in one of the AWS EC2 instance which is linux(Red Hat Enterprise Linux Server release 6.7 Santiago - 64 bit). While installing the chromedriver, we ran into issue due to missing packages. I could find the package here but this in turn requires many other packages. Using any other AMI is not an option.

Error is -

error while loading shared libraries libgconf-2.so.4 cannot open shared object file

Answer

JCQian picture JCQian · Mar 28, 2018

I am using Ubuntu x64 and yum didn't work for me. But I found somebody mentioning simply use $sudo apt install libgconf2-4 worked for me to install the libgconf.