2016-01-13 696 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