IBM Support

Required gtk libraries for IBM Installation Manager on AIX

Troubleshooting


Problem

IBM Installation Manager requires gtk libraries to support the graphical user interface (GUI).

Symptom

Installation Manager reports errors when the gtk libraries are not installed.

Examples of the reported errors:

  • SWT library could not be loaded:


# ./install
00:00.92 ERROR [main] org.eclipse.equinox.log.internal.ExtendedLogReaderServiceFactory safeLogged
Could not load SWT library. Reasons:
/root/Desktop/InstallationManager/configuration/org.eclipse.osgi/bundles/633/1/.cp/libswt-pi-gtk-4234.a (A file or directory in the path name does not exist.)
swt-pi-gtk (Not found in java.library.path)
/root/.swt/lib/aix/ppc/libswt-pi-gtk-4234.a (A file or directory in the path name does not exist.)
/root/.swt/lib/aix/ppc/libswt-pi-gtk.a (A file or directory in the path name does not exist.)
java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
/root/Desktop/InstallationManager/configuration/org.eclipse.osgi/bundles/633/1/.cp/libswt-pi-gtk-4234.a (A file or directory in the path name does not exist.)
swt-pi-gtk (Not found in java.library.path)
/root/.swt/lib/aix/ppc/libswt-pi-gtk-4234.a (A file or directory in the path name does not exist.)
/root/.swt/lib/aix/ppc/libswt-pi-gtk.a (A file or directory in the path name does not exist.)
java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
/root/Desktop/InstallationManager/configuration/org.eclipse.osgi/bundles/633/1/.cp/libswt-pi-gtk-4234.a (A file or directory in the path name does not exist.)
swt-pi-gtk (Not found in java.library.path)
/root/.swt/lib/aix/ppc/libswt-pi-gtk-4234.a (A file or directory in the path name does not exist.)
/root/.swt/lib/aix/ppc/libswt-pi-gtk.a (A file or directory in the path name does not exist.)
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:22)
at java.lang.J9VMInternals.initializeImpl(Native Method)
...
The displayed failed to initialize. See the log /root/Desktop/InstallationManager/configuration/1361168761043.log for details.

  • Segmentation error occurs when the gtk libraries are installed but are not at the required versions


Unhandled exception
Type=Segmentation error vmState=0x00040000
J9Generic_Signal_Number=00000004 Signal_Number=0000000b Error_Value=00000000 Signal_Code=00000033
Handler1=F0739208 Handler2=F05F5F1C
R0=D3D9FDCC R1=3013EEF0 R2=F077B69C R3=F0779450
R4=00000000 R5=00000000 R6=00000000 R7=00000000
R8=1220000F R9=1220000F R10=F0687A0C R11=000034E0
R12=03222C60 R13=30C7DD00 R14=31FAA028 R15=F05851EC
R16=00000007 R17=00000000 R18=F073B388 R19=30C7DD50
R20=32935C30 R21=31FAA040 R22=00000000 R23=30000BC8
R24=10010E04 R25=F05F7130 R26=30148364 R27=0000007E
R28=CFACCBB8 R29=F073AB7C R30=D3DC1410 R31=F0779430
IAR=D3DB63A8 LR=D3D9FDE8 MSR=0000D032 CTR=D3DE0E70
CR=22004084 FPSCR=82000000 XER=0000001B TID=00000000
MQ=00000000
FPR0 329d3fd000000110 (f: 272.000000, d: 6.943460e-65)
FPR1 41e0000000000000 (f: 0.000000, d: 2.147484e+09)
FPR2 c1e0000000000000 (f: 0.000000, d: -2.147484e+09)
FPR3 4330000001e00000 (f: 31457280.000000, d: 4.503600e+15)
FPR4 4330080000000000 (f: 0.000000, d: 4.512396e+15)
FPR5 4133851800000000 (f: 0.000000, d: 1.279256e+06)
FPR6 4133851800000000 (f: 0.000000, d: 1.279256e+06)
FPR7 4330080000138518 (f: 1279256.000000, d: 4.512396e+15)
FPR8 005f0031002e0034 (f: 3014708.000000, d: 6.897895e-307)
FPR9 002e0038002e0076 (f: 3014774.000000, d: 8.344265e-308)
FPR10 0032003000310033 (f: 3211315.000000, d: 1.001324e-307)
FPR11 0030003200320035 (f: 3276853.000000, d: 8.900720e-308)
FPR12 3fe8000000000000 (f: 0.000000, d: 7.500000e-01)
FPR13 4028000000000000 (f: 0.000000, d: 1.200000e+01)
FPR14 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR15 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR16 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR17 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR18 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR19 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR20 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR21 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR22 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR23 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR24 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR25 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR26 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR27 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR28 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR29 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR30 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR31 0000000000000000 (f: 0.000000, d: 0.000000e+00)
Target=2_40_20110203_074623 (AIX 7.1)
CPU=ppc (8 logical CPUs) (0xc0000000 RAM)
----------- Stack Backtrace -----------
(0xD3D9F81C)
(0xD43D5E48)
(0xD43D8698)
(0xD43D1D38)
(0xD43D1B24)
(0xD3E4ABA0)
(0xD43D3058)
(0xD43D3200)
(0xD0F0ED18)
(0xD0F1536C)
(0xD0F19438)
(0xD2B1DF48)
(0xD2AE7780)
(0xD2AE7A30)
(0xD1516BAC)
(0xD2AE78E4)
(0xD2AE7E24)
(0xD2AEC6C4)
(0x100013C0)
(0xD04FCD88)
---------------------------------------
JVMDUMP006I Processing dump event "gpf", detail "" - please wait.
JVMDUMP032I JVM requested System dump using '/opt/IBM/InstallationManager/eclipse/core.YYYY0318.095945.7798784.0001.dmp' in response to an event
Note: "Enable full CORE dump" in smit is set to FALSE and as a result there will be limited threading information in core file.
JVMDUMP010I System dump written to /opt/IBM/InstallationManager/eclipse/core.YYYY0318.095945.7798784.0001.dmp
JVMDUMP032I JVM requested Java dump using '/opt/IBM/InstallationManager/eclipse/javacore.YYYY0318.095945.7798784.0002.txt' in response to an event
JVMDUMP010I Java dump written to /opt/IBM/InstallationManager/eclipse/javacore.YYYY0318.095945.7798784.0002.txt
JVMDUMP032I JVM requested Snap dump using '/opt/IBM/InstallationManager/eclipse/Snap.YYYY0318.095945.7798784.0003.trc' in response to an event
JVMDUMP010I Snap dump written to /opt/IBM/InstallationManager/eclipse/Snap.YYYY0318.095945.7798784.0003.trc
JVMDUMP013I Processed dump event "gpf", detail "".
Segmentation fault (core dumped)

Cause

Installation Manager is an Eclipse Rich Client Program application based on the open source project found at http://www.eclipse.org. Eclipse changed the window system requirement from motif to gtk on UNIX operating systems. For AIX, this Eclipse window system change requires the gtk libraries to be installed to support the GUI. For Installation Manager, the GUI is the wizard mode of operation.

You can use Installation Manager without the gtk libraries. For information about using the Installation Manager  in a non-GUI mode, such as console mode, command-line mode, or silent mode, see the Installation Manager Knowledge Center. Silent mode uses a response file and command-line mode is supported by all packages. For console mode, check your product documentation to verify that the product supports console mode.

Resolving The Problem

To run GUI tools on AIX, such as IBM Installation Manager, you must install GTK2 per the Installing and Configuring GTK2 on IBM AIX tutorial.

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSDV2W","label":"IBM Installation Manager"},"Component":"Install","Platform":[{"code":"PF002","label":"AIX"}],"Version":"1.7;1.7.1;1.7.2;1.7.3;1.7.4;1.8;1.8.1;1.8.2;1.8.3;1.8.4;1.8.5;1.8.6;1.8.7;1.8.8;1.8.9","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
25 October 2021

UID

swg21631478