IBM Support

Cannot install Cognos BI using issetup on Linux. libXm.so.4 is missing.

Troubleshooting


Problem

During the installation of Cognos Business Intelligence, the following error message is generated when a required openmotif package is missing or is not at the required version level: "Error while loading shared libraries: libXm.so.4: cannot open shared object file: No such file or directory"

Resolving The Problem

Scenario 1: OpenMotif package is missing

For Cognos 10.2, you must install both the 32-bit and 64-bit OpenMotif packages. For Cognos Business Intelligence 10.1.x, only the 32-bit OpenMotif package is required. Depending on the Linux distribution version, you must install one of the following packages:

  • openmotif.x86_64 (RHEL)
  • openmotif.i386 (RHEL5)
  • openmotif.i686 (RHEL6)
  • openmotif (SLES)
  • openmotif-libs-32bit (SLES)

Note: For SLES distributions, the OpenMotif libraries can be found at the SUSE Linux Enterprise 11 Software Development Kit e-Media Kit web site (http://download.novell.com/Download?buildid=fQKpDcAhPVY&ref=suse).

Scenario 2: Incorrect version of the OpenMotif package is installed

If the OpenMotif version installed is earlier than version 2.3.1, you can do either of the following:

Use an unattended installation with the issetupnx command

  1. Follow the steps in the Installation and Configuration Guide to create and modify a response file.
  2. Go to the operating system directory in the installation files.
  3. Type the following command:

    ./issetupnx -s path/response_file.ats

Create a softlink to an existing OpenMotif library

  1. Go to the /usr/lib directory.
  2. Use to the following command to create a symbolic link to another version of libXm.so and name the symbolic link the name of the missing library file; for example, libXm.so.4.

    ln -s libXm.so.3 libXm.so.4

  3. Run issetup again.


Note: The above information is true for Cognos Analytics also where the RPM package motif is a pre-requisite.
The name of the package has been changed from openmotif to motif by Red Hat in RHL7

Related Information

[{"Product":{"code":"SSEP7J","label":"Cognos Business Intelligence"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Install and Config","Platform":[{"code":"PF016","label":"Linux"}],"Version":"10.2.2;10.2.1;10.2;10.1.1","Edition":"All Editions","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
24 February 2020

UID

swg21612290