IBM Support

About ClearCase 7.0 and installing on 64-bit Linux

Troubleshooting


Problem

This technote is meant to serve as a supplement to the IBM® Rational® ClearCase® Installation Guide with respect to installing ClearCase on 64 bit Linux®.

Symptom

Attempts to install ClearCase version 7.0 on an iSeries PowerPC Linux (64 bit installation), resulted in an error during the compile of RATLPERL.

Example:


[root@redhat install]# ldd /usr/clearcase_rls/7.0.0/linux_ppc/common/bin/ratlperl    
       libpthread.so.0 => /lib/tls/libpthread.so.0 (0x0fc10000)        
       libratlperl.so => /usr/clearcase_rls/7.0.0/linux_ppc/common/lib/perl5/5.8.6/ppc64-linux-multi/CORE/libratlperl.so (0x0faa5000)                                                 
       libnsl.so.1 => /lib/libnsl.so.1 (0x0e800000)                    
       libdl.so.2 => /lib/libdl.so.2 (0x0fe60000)                      
       libcrypt.so.1 => /lib/libcrypt.so.1 (0x00040000)                
       
libstdc++.so.5 => not found                                     
       libm.so.6 => /lib/tls/libm.so.6 (0x0fdd0000)                    
       libc.so.6 => /lib/tls/libc.so.6 (0x0fe80000)                    
       libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0e960000)                
       /lib/ld.so.1 (0x0ffd0000)                                       
       libstdc++.so.5 => not found                

And:

[root@redhat ~]# rpm -qal | grep libstdc++.so
/usr/lib/libstdc++.so.6
/usr/lib/libstdc++.so.6.0.3
/usr/lib64/libstdc++.so.5
/usr/lib64/libstdc++.so.5.0.7

/usr/lib64/libstdc++.so.6
/usr/lib64/libstdc++.so.6.0.3
/usr/lib/gcc/ppc64-redhat-linux/3.4.3/64/libstdc++.so
/usr/lib/gcc/ppc64-redhat-linux/3.4.3/libstdc++.so

Cause


The 64 bit version of gcc 2.3.2 was on the host but not 32 bit version. RATLPERL needs to be compiled as a 32 bit binary and thus requires a 32 bit compiler on the host.

Resolving The Problem


Download and install the compatible package for gcc version (compat-libstdc++) to be able to compile in 32 bit mode.

Example:

[root@redhat tmp]# rpm -ivh compat-libstdc++-33-3.2.3-47.3.ppc.rpm
warning: compat-libstdc++-33-3.2.3-47.3.ppc.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Preparing...                ########################################### [100%]
  1:compat-libstdc++-33    ########################################### [100%]

[root@redhat tmp]# ldconfig -p |grep compat
       libnss_compat.so.2 (libc6,64bit, OS ABI: Linux 2.4.19) => /lib64/libnss_compat.so.2
       libnss_compat.so.2 (libc6, OS ABI: Linux 2.2.5) => /lib/libnss_compat.so.2
       libnss_compat.so (libc6,64bit, OS ABI: Linux 2.4.19) => /usr/lib64/libnss_compat.so
       libnss_compat.so (libc6, OS ABI: Linux 2.2.5) => /usr/lib/libnss_compat.so
       libecpg_compat.so.1 (libc6,64bit) => /usr/lib64/libecpg_compat.so.1
       libecpg_compat.so.1 (libc6) => /usr/lib/libecpg_compat.so.1

[root@redhat tmp]# ldconfig -p |grep libstdc
       libstdc++.so.6 (libc6,64bit) => /usr/lib64/libstdc++.so.6
       libstdc++.so.6 (libc6) => /usr/lib/libstdc++.so.6
       libstdc++.so.5 (libc6,64bit) => /usr/clearcase_rls/7.0.0/linux_ppc/common/lib/perl5/5.8.6/ppc64-linux-multi/CORE/libstdc++.so.5
       libstdc++.so.5 (libc6,64bit) => /usr/lib64/libstdc++.so.5
       libstdc++.so.5 (libc6,64bit) => /lib/libstdc++.so.5
       libstdc++.so.5 (libc6) => /usr/lib/libstdc++.so.5
       libstdc++-libc6.2-2.so.3 (libc6) => /usr/lib/libstdc++-libc6.2-2.so.3

[root@redhat tmp]# cd /usr/clearcase_rls/7.0.0/linux_ppc/clearcase/install/

[root@redhat install]# find /usr/clearcase_rls -name ratlperl
/usr/clearcase_rls/7.0.0/linux_ppc/common/linux_ppc/bin/ratlperl

[root@redhat install]# ldd /usr/clearcase_rls/7.0.0/linux_ppc/common/linux_ppc/bin/ratlperl
       libpthread.so.0 => /lib/tls/libpthread.so.0 (0x0fc10000)
       libratlperl.so => /usr/clearcase_rls/7.0.0/linux_ppc/common/lib/perl5/5.8.6/ppc64-linux-multi/CORE/libratlperl.so (0x0faa5000)
       libnsl.so.1 => /lib/libnsl.so.1 (0x0e800000)
       libdl.so.2 => /lib/libdl.so.2 (0x0fe60000)
       libcrypt.so.1 => /lib/libcrypt.so.1 (0x00040000)
       
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x0e718000)
       libm.so.6 => /lib/tls/libm.so.6 (0x0fdd0000)
       libc.so.6 => /lib/tls/libc.so.6 (0x0fe80000)
       libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0e960000)
       /lib/ld.so.1 (0x0ffd0000)

[root@redhat install]# pwd
/usr/clearcase_rls/7.0.0/linux_ppc/clearcase/install

[root@redhat install]# ./install_release
 

The installation will now succeed.

[{"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Installation","Platform":[{"code":"PF016","label":"Linux"}],"Version":"7.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Perl: ratlperl","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 June 2018

UID

swg21240436