IBM Installation Manager (IIM) displays "Could not load SWT library" message when launched.
作者:
hbhe0316
启动IM工具
###
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