背景:
系统:Centos7.9/Redhat7.9
网络:正常连接,局域网
磁盘:剩余足够
软件:Coretools U-2023.06
报错:
Error: could not open command log file "/usr/lib64/qt5/plugins/platforms/rt_shel_command.log" (CMD-015) Fatal: This application failed to start because no Qt plaform plugin could be initialized. Reinstalling the application may fix this problem
解决过程:
1、确定QT相关安装包
rpm -qa|grep qt
2、启动qt的debug功能
bash环境
export QT_DEBUG_PLUGINS=1
csh环境
setenv QT_DEBUG_PLUGINS 1
启动coretools,观察启动过程中的报错
error while loading shared libraries: libxkbcommon-x11.so.0: cannot open shared object file: No such file or directory
发现有如上报错内容,明确缺少libxkbcommon-x11.so.0
3、安装相关库
yum search libxkbcommon-x11 libxkbcommon-x11.i686 : X.Org X11 XKB keymap creation library libxkbcommon-x11.x86_64 : X.Org X11 XKB keymap creation library yum install libxkbcommon-x11.x86_64
4、测试启动,启动正常
网友留言: