Symptom
When starting IBM Cognos configuration manager 8.4 after installation on a Linux Redhat 5 server, the following error appears:
$ ./cogconfig.sh
Using /opt/IBM/WebSphere/AppServer/java/jre/bin/java
Exception in thread "main" java.lang.UnsatisfiedLinkError: /opt/IBM/WebSphere/AppServer/java/jre/bin/xawt/libmawt.so (/usr/lib/libXft.so.2: undefined symbol: FT_GlyphSlot_Embolden)
at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:986)
at java.lang.System.load(System.java:441)
at java.lang.ClassLoader.loadLibraryWithPath(Native Method)
at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:978)
at java.lang.ClassLoader.loadLibraryWithClassLoader(ClassLoader.java:950)
at java.lang.System.loadLibrary(System.java:453)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:77)
at java.security.AccessController.doPrivileged(AccessController.java:197)
at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:75)
at java.awt.Color.<clinit>(Color.java:282)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:196)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:161)
at javax.swing.plaf.metal.MetalTheme.<clinit>(MetalTheme.java:62)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:196)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:161)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:161)
at javax.swing.plaf.metal.MetalLookAndFeel.getCurrentTheme(MetalLookAndFeel.java:1569)
at javax.swing.plaf.metal.MetalLookAndFeel.createDefaultTheme(MetalLookAndFeel.java:1461)
at javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java:1468)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:494)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:530)
at CRConfig.main(CRConfig.java:279)
23/02/2010,09:12:50,Err,java.lang.UnsatisfiedLinkError: java/awt/Insets.initIDs()V,
Exception in thread "main" java.lang.UnsatisfiedLinkError: java/awt/Component.initIDs()V
at java.awt.Component.<clinit>(Component.java:597)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:196)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:161)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:161)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:161)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:161)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:161)
at CRConfig.main(CRConfig.java:325)
Cause
IBM Cognos 8 and Red Hat 5 have a compatibility issues with the versions of the Freetype Software library.
Solution
Add the LD_PRELOAD environment variable to the Cognos user account which will launch the product.
Set the LD_PRELOAD environment variable by using the following command:
For the 32-bit versions of Cognos 8:
Under C-shell: setenv LD_PRELOAD /usr/lib/libfreetype.so.6
Under K-Shell/Bourne: export LD_PRELOAD=/usr/lib/libfreetype.so.6
64-bit versions of Cognos 8:
Under C-shell: setenv LD_PRELOAD /usr/lib64/libfreetype.so.6
Under K-Shell/Bourne: export LD_PRELOAD=/usr/lib64/libfreetype.so.6
www.cogknowhow.com