EBS安装提示libXtst.so.6: cannot open shared object file
2015-11-20 09:46 abce 阅读(3125) 评论(0) 编辑 收藏 举报$ ./rapidwiz Rapid Install Wizard is validating your file system...... CMDDIR=/app/Stage122/startCD/Disk1/rapidwiz Rapid Install Wizard will now launch the Java Interface..... $ Exception in thread "main" java.lang.UnsatisfiedLinkError: /app/Stage122/startCD /Disk1/rapidwiz/jre/Linux_x64/1.6.0/lib/i386/xawt/libmawt.so: libXtst.so.6: cannot open shared object file: No such file or directory at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(Unknown Source) at java.lang.ClassLoader.loadLibrary(Unknown Source) at java.lang.Runtime.load0(Unknown Source) at java.lang.System.load(Unknown Source) at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(Unknown Source) at java.lang.ClassLoader.loadLibrary(Unknown Source) at java.lang.Runtime.loadLibrary0(Unknown Source) at java.lang.System.loadLibrary(Unknown Source) at sun.security.action.LoadLibraryAction.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.awt.NativeLibLoader.loadLibraries(Unknown Source) at sun.awt.DebugHelper.<clinit>(Unknown Source) at java.awt.Component.<clinit>(Unknown Source)
解决方法:安装缺少的rpm包
# yum list available | grep libXtst libXtst.i686 1.2.2-2.1.el7 base libXtst-devel.i686 1.2.2-2.1.el7 base libXtst-devel.x86_64 1.2.2-2.1.el7 base # yum install libXtst.i686 -y Loaded plugins: langpacks, product-id, subscription-manager This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. base | 4.1 kB 00:00:00 Resolving Dependencies --> Running transaction check ---> Package libXtst.i686 0:1.2.2-2.1.el7 will be installed --> Processing Dependency: libXi.so.6 for package: libXtst-1.2.2-2.1.el7.i686 --> Running transaction check ---> Package libXi.i686 0:1.7.2-2.1.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved =========================================================================================================== Package Arch Version Repository Size =========================================================================================================== Installing: libXtst i686 1.2.2-2.1.el7 base 20 k Installing for dependencies: libXi i686 1.7.2-2.1.el7 base 39 k Transaction Summary =========================================================================================================== Install 1 Package (+1 Dependent package) Total download size: 59 k Installed size: 96 k Downloading packages: ----------------------------------------------------------------------------------------------------------- Total 1.7 MB/s | 59 kB 00:00:00 Running transaction check Running transaction test Transaction test succeeded Running transaction Warning: RPMDB altered outside of yum. Installing : libXi-1.7.2-2.1.el7.i686 1/2 Installing : libXtst-1.2.2-2.1.el7.i686 2/2 Verifying : libXi-1.7.2-2.1.el7.i686 1/2 Verifying : libXtst-1.2.2-2.1.el7.i686 2/2 Installed: libXtst.i686 0:1.2.2-2.1.el7 Dependency Installed: libXi.i686 0:1.7.2-2.1.el7 Complete!
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· .NET10 - 预览版1新功能体验(一)