Wednesday, February 12, 2014

Installing OmniFind 9.1 to AIX 7.1 - Workaround for IBM XL C++ for AIX, V10.1.02 Error


When attempting to install Omnifind 9.1 to an AIX 7.1 server, I encountered an error stating: "Required AIX Library is Missing" with details telling me that "xlC.aix.rte version must be 10.1.0.1 or later."  I check the AIX machine and found that my xlC.aix.rte  version was actually 12.1.0.0... should be good to go, right?  Not so much!


Digging a little deeper, I found that a script named "getxlcversion61.sh" was being placed in my temporary folder during the installation process.  This script ran and generated a text file containing the xlc version, but the text file was empty and the version check failed.  Turns out that there's a bug in this script causing the problem, and here's how you get around it:

  1. Locate or define the temp directory for your installation.  You may define it by setting the IATEMPDIR environment variable to whatever works best for you:
    1. export IATEMPDIR=/usr/omnifind/tmp
  2. Start Omnifind Installer: 
    1. cd <installer dir>/Main
    2. ./install.bin
    3. Choose Language & click “OK”
  3. STOP! DO NOT ACCEPT LICENSE AGREEMENT!
  4. Move to the OmniFind 9.1 temp directory on your system and find the getxlcversion61.sh file:
    1. find . -name "getxlcversion61.sh"
    2. This file is only available while the installer is running.  If you quit the install, it cleans up after itself and removes this file.
    3. This file is stored in a temporary, numbered directory within your temp folder.  
  5. Update the following line to remove "C/":
    1. VERSION=`lslpp -lq xlC.aix61.rte 2>/dev/null | grep "XL C/C++ Runtime" | cut -f16 -d" "` [BAD!]
    2. VERSION=`lslpp -lq xlC.aix61.rte 2>/dev/null | grep "XL C++ Runtime" | cut -f16 -d" "` [GOOD!]
  6. Save and close getxlcversion61.sh.
  7. Accept the license agreement.
  8. Ignore the “unsupported OS” warning if installing to AIX 7.1.
  9. Continue with the installation... and good luck!
Happy Portalling!

No comments:

Post a Comment