【问题标题】:Unable to install GConf2 in AWS EC2 AMI无法在 AWS EC2 AMI 中安装 GConf2
【发布时间】:2018-03-01 23:43:51
【问题描述】:

我已经设置了一个 AWS EC2 实例 [Amazon Linux AMI 2017.03.1 (HVM)] 并且每当我尝试检查 chromedriver 的版本(从 here 下载 2.30 时,也有足够的权限运行,因为 stat -c "%a %n" chromedriver 提供755 chromedriver ) 使用命令

chromedriver --version

我收到以下错误:

error while loading shared libraries: libgconf-2.so.4: 
cannot open shared object file: No such file or directory

ldd chromedriver 的结果也是:

libgconf-2.so.4 => not found

我知道上面的库是由GConf2提供的(参考here) 所以我运行了命令yum install Conf2 我被以下错误困住了:

# yum install GConf2
Loaded plugins: priorities, update-motd, upgrade-helper
amzn-main    | 2.1 kB  00:00:00
amzn-updates | 2.3 kB  00:00:00
No package GConf2 available.
Error: Nothing to do

注意:

  1. 我正在以 root 用户身份运行命令!
  2. 试图做yum clean allyum update 并更新了所有的包,仍然得到 错误
  3. 也试过yum provides */libgconf-2.so.4,得到错误:Loaded plugins: priorities, update-motd, upgrade-helper No matches found

【问题讨论】:

    标签: linux amazon-ec2 selenium-chromedriver yum gconf


    【解决方案1】:

    我在this之后安装了Gconf2

    【讨论】:

      猜你喜欢
      • 2022-05-25
      • 2018-09-09
      • 2012-07-20
      • 1970-01-01
      • 2014-08-05
      • 1970-01-01
      • 2018-12-12
      • 1970-01-01
      • 2018-12-04
      相关资源
      最近更新 更多