gpt4 book ai didi

linux - 如何处理报错libXdamage.so.1 : cannot open shared object file on Centos VM?

转载 作者:太空宇宙 更新时间:2023-11-04 09:14:00 31 4
gpt4 key购买 nike

运行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

从安装 libX11 开始,但再次获得失败的依赖项

是否可以一次安装所有包?或者下载一个已经包含所有软件包的 Centos VM?如果可以采用第二种方式,请提供下载地址。

最佳答案

找到提供 libXdamage.so.1 的:# yum provides */libXdamage.so.1

安装 libXdamage :

# yum install libXdamage

无论如何,Fedora 28 pagkage 不适用于 CentOS http://mirror.centos.org/centos/

(而且您似乎没有适用于“armv7hl”处理器的操作系统。因此存在依赖关系。)

关于linux - 如何处理报错libXdamage.so.1 : cannot open shared object file on Centos VM?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50839865/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com