2016-01-13 695 views
0

我想达到的目标:无法加载SWT库错误

1)在Ubuntu服务器上安装IBM安装管理器14.04 LTS(HVM)

我做了什么:

1)安装 “agent.installer.linux.gtk.x86_64_1.8.4000.20151125_0201.zip”

2)执行命令./userinst命令

问题:

[email protected]:~/wkMacDownloads$ ./userinst

00:00.42 ERROR [main] com.ibm.cic.agent.internal.ui.AgentUI reportStatus

Could not load SWT library. Reasons:

/home/ubuntu/wkMacDownloads/configuration/org.eclipse.osgi/bundles/784/1/.cp/libswt-pi-gtk-4239.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)

/home/ubuntu/.swt/lib/linux/x86_64/libswt-pi-gtk-4239.so (/home/ubuntu/.swt/lib/linux/x86_64/liblibswt-pi-gtk-4239.so.so: cannot open shared object file: No such file or directory)

/home/ubuntu/.swt/lib/linux/x86_64/libswt-pi-gtk.so (/home/ubuntu/.swt/lib/linux/x86_64/liblibswt-pi-gtk.so.so: cannot open shared object file: No such file or directory)

/home/ubuntu/.swt/lib/linux/x86_64/libswt-pi-gtk-4239.so (libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory)

java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:

/home/ubuntu/wkMacDownloads/configuration/org.eclipse.osgi/bundles/784/1/.cp/libswt-pi-gtk-4239.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)

/home/ubuntu/.swt/lib/linux/x86_64/libswt-pi-gtk-4239.so (/home/ubuntu/.swt/lib/linux/x86_64/liblibswt-pi-gtk-4239.so.so: cannot open shared object file: No such file or directory)

/home/ubuntu/.swt/lib/linux/x86_64/libswt-pi-gtk.so (/home/ubuntu/.swt/lib/linux/x86_64/liblibswt-pi-gtk.so.so: cannot open shared object file: No such file or directory)

/home/ubuntu/.swt/lib/linux/x86_64/libswt-pi-gtk-4239.so (libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory)

at org.eclipse.swt.internal.Library.loadLibrary(Library.java:331) 

at org.eclipse.swt.internal.Library.loadLibrary(Library.java:240) 

at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:23) 

at java.lang.J9VMInternals.initializeImpl(Native Method) 

... 

The displayed failed to initialize. See the log

问:

是否可以使用IBM安装管理器GUI模式在Ubuntu服务器?还是有一个命令行替代?

enter image description here

回答

-1

你可以尝试静默安装IM。

您可以运行./userinstc -log LOG_FILE -acceptLicense

0

使用./install不是命令。 为了解决您的问题, 确保安装gtk库以支持图形用户界面(GUI)。 refer