Symantec Access Management

  • 1.  libstdc++.so.5 errors policy server installation

    Posted Jan 20, 2014 04:37 AM

    We generally come accross libstdc++.so.5 errors whle installing policy server on RHEL machines,

     

    STDERR: /tmp/842928.tmp/smreg: error while loading shared libraries:

    libstdc++.so.6: cannot open shared object file: No such file or directory

     

    This usually happens when C and C++ compliers are not installed on the server. You need to install them with the help of your system admins or if you have root access run below commands:

    yum list | grep libstdc++*

    This will lt the libaries available in YUM:

    compat-libstdc++-296.i686              2.96-144.el6                @rhel6_u4_base
    compat-libstdc++-33.i686               3.2.3-69.el6                @rhel6_u4_base
    compat-libstdc++-33.x86_64             3.2.3-69.el6                @rhel6_u4_base
    libstdc++.i686                         4.4.7-3.el6                 @rhel6_u4_base
    libstdc++.x86_64                       4.4.7-3.el6                 @anaconda-RedHatEnterpriseLinux-201301301459.x86_64/6.4
    libstdc++-devel.i686                   4.4.7-3.el6                 @rhel6_u4_base
    libstdc++-devel.x86_64                 4.4.7-3.el6                 @anaconda-RedHatEnterpriseLinux-201301301459.x86_64/6.4
    libstdc++-docs.x86_64                  4.4.7-3.el6                 rhel6_u4_base

    And install the libraries running

    Yum install filename

    These errors you may probably face while installing policy server on RHEL 6, servers.

     

    Regards

    Vikas Tiwari



  • 2.  RE: libstdc++.so.5 errors policy server installation

    Posted Jan 22, 2014 09:25 AM

    I've run into similar issues when installing the SiteMinder components on RHEL 5.x or RHEL 6.x servers (virtual machines) provisioned at client sites or in the CA Labs on Demand environment. In many cases "yum" is not readily available for you to use, especially when the yum repositories are not loaded by the local sysadmins. A method using "rpm" does not require direct access to the packages, only the ability to search for a package on the system.

    I needed more background on using the rpm command to display the architecture of a package installed on Linux. I found this article "Linux: Display rpm package architecture" which contains examples of using the rpm query filter to display the architecture and version of a package. This background is very helpful when verifying the prerequisites for IdentityMinder or SiteMinder on Linux VMs. 

    I used the following commands to check for the versions of the glibc, libXext and libXtst packages installed on a RedHat 5u8 x64 VM in the LOD:


    [root@toren01-U100508 ~]# rpm -qa --qf "%{n}-%{v}-%{r}.%{arch}\n"  | grep i686 | grep glibc

    glibc-2.5-81.i686

    [root@toren01-U100508 ~]#

    [root@toren01-U100508 ~]# rpm -qa --qf "%{n}-%{v}-%{r}.%{arch}\n"  | grep i386 | grep libXext

    libXext-1.0.1-2.1.i386

    libXext-devel-1.0.1-2.1.i386

    [root@toren01-U100508 ~]#

    [root@toren01-U100508 ~]# rpm -qa --qf "%{n}-%{v}-%{r}.%{arch}\n"  | grep i386 | grep libXtst

    libXtst-devel-1.0.1-3.1.i386

    libXtst-1.0.1-3.1.i386

    [root@toren01-U100508 ~]#


    The command syntax comes in very handy when checking the requirements shown below in the excerpt from the IdentityMinder Installation for JBoss Guide:


    Note: The i686 suffix specifies that the library is 32-bit, for the x86 processor.

    CA IdentityMinder Server

     

    Red Hat 5.x

    Red Hat 6.x

    glibc-2.5-65.i686.rpm

    glibc-2.12-1.47.el6.i686.rpm

    libXext-1.0.1-2.1.i386.rpm

    libXext-1.1-3.el6.i686.rpm

    libXtst-1.0.1-3.1.i386.rpm

    libXtst-1.0.99.2-3.el6.i686.rpm

    ncurses-devel-5.5-24.20060715.i386.rpm

    ncurses-devel-5.7-3.20090208.el6.i686.rpm

    ksh-20100202-1.el5_6.6.x86_64.rpm

    ksh-20100621-12.el6.x86_64.rpm

    Provisioning Server

     

    Red Hat 5.x

    Red Hat 6.x

    compat-libstdc++-296-2.96-138.i386.rpm

    compat-libstdc++-296-2.96-144.el6.i686.rpm

    libstdc++-4.1.2-51.el5.i386.rpm

    libstdc++-4.4.6-3.el6.i686.rpm

    libidn-0.6.5-1.1.i386.rpm

    libidn-1.18-2.el6.i686.rpm

    libgcc-4.1.2-52.el5.i386.rpm 

    libgcc-4.4.6-3.el6.i686.rpm

    CA IAM Connector Server

    For Red Hat 5.x, no packages are required for the CA IAM CS. For Red Hat 6.x, install these packages in this order:

    • glibc-2.12-1.25.el6.i686.rpm
    • libX11-1.3-2.el6.i686.rpm
    • libxcb-1.5-1.el6.i686.rpm
    • libXtst-1.0.99.2-3.el6.i686.rpm
    • libXau-1.0.5-1.el6.i686.rpm
    • libXi-1.3-3.el6.i686.rpm
    • libXext-1.1-3.el6.i686.rpm
    • nss-softokn-freebl-3.12.9-3.el6.i686.rpm

     



  • 3.  RE: libstdc++.so.5 errors policy server installation

     
    Posted Jan 24, 2014 01:06 PM
    tiwvi01:

    We generally come accross libstdc++.so.5 errors whle installing policy server on RHEL machines, 

     

    STDERR: /tmp/842928.tmp/smreg: error while loading shared libraries:

    libstdc++.so.6: cannot open shared object file: No such file or directory

     

    This usually happens when C and C++ compliers are not installed on the server. You need to install them with the help of your system admins or if you have root access run below commands:

    yum list | grep libstdc++*

    This will lt the libaries available in YUM:

    compat-libstdc++-296.i686              2.96-144.el6                @rhel6_u4_base
    compat-libstdc++-33.i686               3.2.3-69.el6                @rhel6_u4_base
    compat-libstdc++-33.x86_64             3.2.3-69.el6                @rhel6_u4_base
    libstdc++.i686                         4.4.7-3.el6                 @rhel6_u4_base
    libstdc++.x86_64                       4.4.7-3.el6                 @anaconda-RedHatEnterpriseLinux-201301301459.x86_64/6.4
    libstdc++-devel.i686                   4.4.7-3.el6                 @rhel6_u4_base
    libstdc++-devel.x86_64                 4.4.7-3.el6                 @anaconda-RedHatEnterpriseLinux-201301301459.x86_64/6.4
    libstdc++-docs.x86_64                  4.4.7-3.el6                 rhel6_u4_base
     

    And install the libraries running 

    Yum install filename

    These errors you may probably face while installing policy server on RHEL 6, servers.

     

    Regards

    Vikas Tiwari


    Thanks for the tip Vikas!



  • 4.  RE: libstdc++.so.5 errors policy server installation

    Posted Jan 25, 2014 03:17 PM

    Vikas:

     

    this is nice, but it's duplicate work.

     

    https://support.ca.com/cadocs/0/CA%20SiteMinder%2012%2051-ENU/Bookshelf_Files/HTML/idocs/index.htm?toc.htm?388332.html?zoom_highlight=prerequisites%2Bpolicy%2Bserver

     

     

    describes what is needed in detail and is a list made from a ticket when i was still there. how do i know? because im the one that had the tickets complaining about improper library listings for ps and wa and got it documented.