Thursday, December 17, 2009

Installing Cognos8

I got this error message when installing Cognos8:
$ ./issetup
./issetup: error while loading shared libraries: libXm.so.3: cannot open shared object file: No such file or directory


It turns out that the library libXm.so.3 is not installed.

Here's how to get it:

yum whatprovides libXm.so.3

Loaded plugins: fastestmirror
extras 325/325
openmotif22-2.2.3-18.i386 : Open Motif runtime libraries and executables
Repo : base
Matched from:
Other : libXm.so.3


yum install openmotif22.i386

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: mirror.usonyx.net
* base: ftp.monash.edu.au
* extras: mirror.optus.net
* updates: mirror.usonyx.net
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package openmotif22.i386 0:2.2.3-18 set to be updated
--> Processing Dependency: libXp.so.6 for package: openmotif22
--> Running transaction check
---> Package libXp.i386 0:1.0.0-8.1.el5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

==========================================================================================================================
Package Arch Version Repository Size
==========================================================================================================================
Installing:
openmotif22 i386 2.2.3-18 base 1.3 M
Installing for dependencies:
libXp i386 1.0.0-8.1.el5 base 23 k

Transaction Summary
==========================================================================================================================
Install 2 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total download size: 1.3 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): libXp-1.0.0-8.1.el5.i386.rpm | 23 kB 00:01
(2/2): openmotif22-2.2.3-18.i386.rpm | 1.3 MB 00:47
--------------------------------------------------------------------------------------------------------------------------
Total 27 kB/s | 1.3 MB 00:50
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : libXp 1/2
Installing : openmotif22 2/2

Installed:
openmotif22.i386 0:2.2.3-18

Dependency Installed:
libXp.i386 0:1.0.0-8.1.el5

Complete!
[root@localhost bin]#

Now I can start the install! :-)

6 comments:

  1. Did a second install today and got the message "Aborted" after running issetup. If you get that, it basically means that your installation files are incomplete. Download from your source and extract again.

    Also, avoid using WinZip (if you are on Unix). Run gzip and then tar to do the extraction.

    Hope that helps!

    ReplyDelete
  2. I changed my hostname and after that could not get cognos config to work anymore. I keep getting the following error when saving the configuration file (to make amendments for the new hostname):

    Using /apps/bea/jdk150_11/bin/java
    log4j:WARN No appenders could be found for logger (Audit.RTUsage.cms.CAM.CRP.jcam).
    log4j:WARN Please initialize the log4j system properly.
    31/03/2010,12:27:08,Err,CAM-CRP-1057 Unable to generate the machine specific symmetric key.
    31/03/2010,12:27:08,Err,CAM-CRP-1054 No configuration was loaded., com.cognos.crconfig.data.crypto.CAMFactory.createConfiguringSession(CAMFactory.java:36)
    31/03/2010,12:27:08,Err,com.cognos.crconfig.data.DataManagerException: CAM-CRP-1054 No configuration was loaded., com.cognos.crconfig.data.DataManager.generateCryptoKeys(DataManager.java:2716)

    ReplyDelete
  3. Hi
    I've got openmotif installed but it still cant find libxm.so.3
    I've even checked in the /lib folder and its there.

    Any idea why this is happening?

    Regards
    Wasim

    ReplyDelete
  4. Wasim, maybe your installation was incomplete? Try re-installing motif again.

    ReplyDelete
  5. For RedHat, I had to install motif manually:

    I need to download the following packages:

    openmotif-debuginfo-2.3.3-1.el5.3.i386.rpm
    XFree86-libs-data-4.3.0-2.i386.rpm
    XFree86-libs-4.3.0-2.i386.rpm
    openmotif-2.3.3-1.el5.3.i386.rpm

    additionally (I think the ones below are not mandatory):
    openmotif-devel-2.3.3-1.el5.3.i386.rpm
    openmotif-demos-2.3.3-1.el5.3.i386.rpm

    Commands:

    root@redhat Linux8.0]# rpm -ivh XFree86-libs-data-4.3.0-2.i386.rpm
    warning: XFree86-libs-data-4.3.0-2.i386.rpm: Header V3 DSA signature: NOKEY, key ID db42a60e
    Preparing... ########################################### [100%]
    1:XFree86-libs-data ########################################### [100%]
    [root@redhat Linux8.0]# cbs-4.3.0-2.i386.rpmd Unica82
    [root@redhat Linux8.0]# rpm -ivh XFree86-libs-4.3.0-2.i386.rpm
    warning: XFree86-libs-4.3.0-2.i386.rpm: Header V3 DSA signature: NOKEY, key ID db42a60e
    Preparing... ########################################### [100%]
    1:XFree86-libs ########################################### [100%]
    [root@redhat Linux8.0]# rpm -ivh openmotif-2.3.3-1.el5.3.i386.rpm
    Preparing... ########################################### [100%]
    1:openmotif ########################################### [100%]
    [root@redhat Linux8.0]# rpm -ivh openmotif-devel-2.3.3-1.el5.3.i386.rpm
    Preparing... ########################################### [100%]
    1:openmotif-devel ########################################### [100%]

    ReplyDelete
  6. Wasim, see if this works for you:

    [root@redhat lib]# ls -l libXm*
    -rw-r--r-- 1 root root 3387458 Mar 16 2010 libXm.a
    lrwxrwxrwx 1 root root 14 Dec 31 17:25 libXm.so -> libXm.so.4.0.3
    lrwxrwxrwx 1 root root 14 Dec 31 17:25 libXm.so.4 -> libXm.so.4.0.3
    -rwxr-xr-x 1 root root 2646476 Mar 16 2010 libXm.so.4.0.3
    lrwxrwxrwx 1 root root 15 Oct 15 2009 libXmu.so.6 -> libXmu.so.6.2.0
    -rwxr-xr-x 1 root root 96120 Sep 16 2006 libXmu.so.6.2.0
    lrwxrwxrwx 1 root root 16 Oct 15 2009 libXmuu.so.1 -> libXmuu.so.1.0.0
    -rwxr-xr-x 1 root root 12500 Sep 16 2006 libXmuu.so.1.0.0
    [root@redhat lib]# ln -s libXm.so.4.0.3 libXm.so.3
    [root@redhat lib]# ls -l libXm*
    -rw-r--r-- 1 root root 3387458 Mar 16 2010 libXm.a
    lrwxrwxrwx 1 root root 14 Dec 31 17:25 libXm.so -> libXm.so.4.0.3
    lrwxrwxrwx 1 root root 14 Dec 31 17:34 libXm.so.3 -> libXm.so.4.0.3
    lrwxrwxrwx 1 root root 14 Dec 31 17:25 libXm.so.4 -> libXm.so.4.0.3
    -rwxr-xr-x 1 root root 2646476 Mar 16 2010 libXm.so.4.0.3
    lrwxrwxrwx 1 root root 15 Oct 15 2009 libXmu.so.6 -> libXmu.so.6.2.0
    -rwxr-xr-x 1 root root 96120 Sep 16 2006 libXmu.so.6.2.0
    lrwxrwxrwx 1 root root 16 Oct 15 2009 libXmuu.so.1 -> libXmuu.so.1.0.0
    -rwxr-xr-x 1 root root 12500 Sep 16 2006 libXmuu.so.1.0.0

    ReplyDelete