iGateway for command sponsor will not start

Document ID : KB000018159
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

After installing the command sponsor on Red Hat Enterprise Linux Server release 6.2 iGateway will not start even though we have loaded all of the required RPMs. Upon running the S99igateway start script library errors are seen for standard unix commands like sed, uname, cut, awk, ps and grep. Example:


 sed: error while loading shared libraries: libc.so.6: wrong ELF class: ELFCLASS32       
 uname: error while loading shared libraries: libc.so.6: wrong ELF class: ELFCLASS32 
 cut: error while loading shared libraries: libc.so.6: wrong ELF class: ELFCLASS32
 awk: error while loading shared libraries: libdl.so.2: wrong ELF class: ELFCLASS32
 grep: error while loading shared libraries: libc.so.6: wrong ELF class: ELFCLASS32
 ps: error while loading shared libraries: libc.so.6: wrong ELF class: ELFCLASS32
 cut: error while loading shared libraries: libc.so.6: wrong ELF class: ELFCLASS32

Solution:

To resolve, comment out LD_ASSUME_KERNEL in file S99igateway as in this example:


         if [ "$build_os" != "linux_k26" ];then
 #          LD_ASSUME_KERNEL=2.4.1
           version=0
           isRHEL5="false"
       	KVer=`uname -r | sed -e 's|.*\\.||g' | cut -c 1,2,3`
           if [ "$KVer" = "el5" -o "$KVer" = "EL5" -o "$KVer" = "El5" ];then
           isRHEL5="true"
           fi