运行一个Java程序得到了异常:
Caused by:
org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms.
Firefox console output:\nXPCOMGlueLoad error for file
/home/anarinsky/.alternator/browsers/firefox/libxul.so:
libXdamage.so.1:
cannot open shared object file: No such file or directory
Couldn't load XPCOM.\n
假设这个异常是由于没有安装libXdamage.so.1造成的,所以我下载了rpm libXdamage-1.1.4-12.fc28.armv7hl.rpm,但是安装:
rpm -ivh libXdamage-1.1.4-12.fc28.armv7hl.rpm
导致以下错误:
warning: libXdamage-1.1.4-12.fc28.armv7hl.rpm: Header V3 RSA/SHA256
Signature, key ID 429476b4: NOKEY
error: Failed dependencies:
ld-linux-armhf.so.3 is needed by libXdamage-1.1.4-12.fc28.armv7hl
ld-linux-armhf.so.3(GLIBC_2.4) is needed by libXdamage-1.1.4-12.fc28.armv7hl
libX11.so.6 is needed by libXdamage-1.1.4-12.fc28.armv7hl
libXfixes.so.3 is needed by libXdamage-1.1.4-12.fc28.armv7hl
libc.so.6 is needed by libXdamage-1.1.4-12.fc28.armv7hl
libc.so.6(GLIBC_2.4) is needed by libXdamage-1.1.4-12.fc28.armv7hl
libgcc_s.so.1 is needed by libXdamage-1.1.4-12.fc28.armv7hl
libgcc_s.so.1(GCC_3.5) is needed by libXdamage-1.1.4-12.fc28.armv7hl
从安装libX 11开始,但再次获得失败的依赖项
是否可以一次安装所有软件包?或者下载一个已经包含所有软件包的Centos VM?如果可以,请提供下载的URL。
1条答案
按热度按时间6jjcrrmo1#
找到提供libXdamage.so.1的 * 包 *:
# yum provides */libXdamage.so.1
安装libXdamage:
无论如何,Fedora 28页的页面不能用于CentOS http://mirror.centos.org/centos/
(而且看起来你没有一个“armv7hl”处理器的操作系统。因此存在依赖性。)