签到成功

知道了

CNDBA社区CNDBA社区

IBM Installation Manager (IIM) displays "Could not load SWT library" message when launched.

2023-05-25 20:53 1015 0 原创 Linux
作者: hbhe0316

启动IM工具

http://www.cndba.cn/hbhe0316/article/121040
http://www.cndba.cn/hbhe0316/article/121040
http://www.cndba.cn/hbhe0316/article/121040
http://www.cndba.cn/hbhe0316/article/121040http://www.cndba.cn/hbhe0316/article/121040http://www.cndba.cn/hbhe0316/article/121040
http://www.cndba.cn/hbhe0316/article/121040
http://www.cndba.cn/hbhe0316/article/121040http://www.cndba.cn/hbhe0316/article/121040
http://www.cndba.cn/hbhe0316/article/121040

###
00:00.56 ERROR [main] com.ibm.cic.agent.internal.ui.AgentUI reportStatus
Could not load SWT library. Reasons:
/[User home]/IBM_IM/InstallationManager/eclipse/configuration/org.eclipse.osgi/132/0/.cp/libswt-pi-gtk-4630.so (libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory)
swt-pi-gtk (Not found in java.library.path)
/[User home]/.swt/lib/linux/x86_64/libswt-pi-gtk-4630.so (libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory)
/[User home]/.swt/lib/linux/x86_64/libswt-pi-gtk.so (/[User home]/.swt/lib/linux/x86_64/liblibswt-pi-gtk.so.so: cannot open shared object file: No such file or directory)
java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
/[User home]/IBM_IM/InstallationManager/eclipse/configuration/org.eclipse.osgi/132/0/.cp/libswt-pi-gtk-4630.so (libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory)
swt-pi-gtk (Not found in java.library.path)
/[User home]/.swt/lib/linux/x86_64/libswt-pi-gtk-4630.so (libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory)
/[User home]/.swt/lib/linux/x86_64/libswt-pi-gtk.so (/[User home]/.swt/lib/linux/x86_64/liblibswt-pi-gtk.so.so: cannot open shared object file: No such file or directory)

at org.eclipse.swt.internal.Library.loadLibrary(Library.java:327)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:236)
at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:26)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
###

What can be done to suppress those messages?
Steps
To run Installation Manager in GUI mode on Red Hat Enterprise Linux, libraries such as gtk2, gtk3, libXtst, and xorg-x11-fonts-Type1 are required. These libraries are not installed by default.
Resolving The Problem
Complete the following steps to install the required libraries on your system before you run the Case configuration tool.
On all RedHat Linux platforms

Run the following command to install the required libraries:

yum install gtk2 gtk3 libXtst xorg-x11-fonts-Type

Ensure the 64-bit versions of the adwaita theme libraries are installed by using the architecture setting that is appropriate for your environment. For example, on an Intel-based machine, use the following command:

yum install adwaita*theme*

版权声明:本文为博主原创文章,未经博主允许不得转载。

Linux

用户评论
* 以下用户言论只代表其个人观点,不代表CNDBA社区的观点或立场
hbhe0316

hbhe0316

关注

1.只有承认无知,才能装下新的东西; 2.进步来自一点点滴滴的积累; 3.广博让你更优秀,而专业让你无法替代; 4.挫折和失败能够转换为一种财富。

  • 889
    原创
  • 1
    翻译
  • 13
    转载
  • 24
    评论
  • 访问:1133295次
  • 积分:1523
  • 等级:核心会员
  • 排名:第6名
精华文章
    最新问题
    查看更多+
    热门文章
      热门用户
      推荐用户
        Copyright © 2016 All Rights Reserved. Powered by CNDBA · 皖ICP备2022006297号-1·

        QQ交流群

        注册联系QQ