Required gtk libraries for Installation Manager on HP-UX Itanium

Technote (troubleshooting)


Problem(Abstract)

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

Symptom

Installation Manager reports errors occur when the gtk libraries are not installed:

# ./IBMIM
00:02.02 ERROR [main] org.eclipse.equinox.log.internal.ExtendedLogReaderServiceFactory safeLogged
  Could not load SWT library. Reasons:
        /opt/IBM/InstallationManager/eclipse/configuration/org.eclipse.osgi/bundles/279/1/.cp/libswt-gtk-4234.so: Unable to find library 'libgcc_s.so.0'.
        no swt-gtk in java.library.path
        Can't load library: /.swt/lib/hpux/ia64_32/libswt-gtk-4234.so
        Can't load library: /.swt/lib/hpux/ia64_32/libswt-gtk.so
        /.swt/lib/hpux/ia64_32/libswt-gtk-4234.so: Unable to find library 'libgcc_s.so.0'.
  java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
        /opt/IBM/InstallationManager/eclipse/configuration/org.eclipse.osgi/bundles/279/1/.cp/libswt-gtk-4234.so: Unable to find library 'libgcc_s.so.0'.
        no swt-gtk in java.library.path
        Can't load library: /.swt/lib/hpux/ia64_32/libswt-gtk-4234.so
        Can't load library: /.swt/lib/hpux/ia64_32/libswt-gtk.so
        /.swt/lib/hpux/ia64_32/libswt-gtk-4234.so: Unable to find library 'libgcc_s.so.0'.

  java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
        /opt/IBM/InstallationManager/eclipse/configuration/org.eclipse.osgi/bundles/279/1/.cp/libswt-gtk-4234.so: Unable to find library 'libgcc_s.so.0'.
        no swt-gtk in java.library.path
        Can't load library: /.swt/lib/hpux/ia64_32/libswt-gtk-4234.so
        Can't load library: /.swt/lib/hpux/ia64_32/libswt-gtk.so
        /.swt/lib/hpux/ia64_32/libswt-gtk-4234.so: Unable to find library 'libgcc_s.so.0'.

    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.C.<clinit>(C.java:21)
    at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
    ...
The displayed failed to initialize.  See the log /opt/IBM/InstallationManager/eclipse/configuration/1361819447407.log for details.

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 HP-UX Itanium, 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 on console mode, command-line mode, or silent mode; see the IBM Installation Manager Information 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 use the GUI, the gtk+ package and dependencies must be available on HP-UX Itanium.

1. Install this set of packages on HP-UX Itanium.

  • gtk_26800_ia.depot
  • gcc-ia64-4.7.1.depot

If the packages are not installed or if the installed packages are older than the versions listed above, take the following steps:

1. Download the gtk_26800_ia.depot package.  The same gtk libraries are required for Mozilla Firefox, see http://www.hp.com/go/firefox for a link to the gtk libraries.  At the time of this writing, the link to use is the "GTK 2.6.8 Libraries downloads for HP-UX Itanium".

2. Download the gcc-ia64-4.7.1.depot.gz package and use gunzip to uncompress it. The package can be found at http://www.hp.com/go/gcc.

3. Uninstall any older versions of gcc and gtk.

4. Install the gtk_26800_ia.depot package.  For example, using the swinstall program:
    a. Run the command: swinstall -s gtk_26800_ia.depot
    b. Select for installation.
    c. Install.

5. Install the gcc-ia64-4.7.1.depot package. For example, using the swinstall program:

    a. Run the command: swinstall -s gcc-ia64-4.7.1.depot
    b. Select for installation.
    c. Install.

6. Find the directory where the gcc package was installed, then find the lib subdirectory path. For example, the path might be "/opt/hp-gcc-4.7.1/lib" or "/opt/hp-gcc-ia64-4.7.1/lib"

7. Set the LD_LIBRARY_PATH environment variable to the path found in the previous step. For example, run the command:
export LD_LIBRARY_PATH="/opt/hp-gcc-ia64-4.7.1/lib"

8. Start Installation Manager.


Rate this page:

(0 users)Average rating

Document information


More support for:

IBM Installation Manager
Install

Software version:

1.6.2

Operating system(s):

HP-UX

Reference #:

1634676

Modified date:

2013-04-17

Translate my page

Machine Translation

Content navigation