Required OS libraries for the Siteminder Agents during runtime on LInux.

book

Article ID: 211256

calendar_today

Updated On:

Products

CA Single Sign On Agents (SiteMinder)

Issue/Introduction

What OS libraries are required for the Siteminder Agent during runtime?

Cause

The Documentation may unclear as to what OS libraries are required during runtime. 

Environment

Release : 12.52

Component : SITEMINDER -WEB AGENT FOR APACHE

Operating System: Linux. Red Hat Linux all supported 

Resolution

If we run "ldd" against the primary plugin for the agent ."./webagent/bin/libHttpPlugin.so", results in the following output. 

[[email protected] conf]# ldd /opt/CA/webagent/bin/libHttpPlugin.so
        linux-vdso.so.1 =>  (0x00007ffc5abfb000)
        libsmcommonutil.so => /opt/CA/webagent/bin/libsmcommonutil.so (0x00007f335f287000)
        libsmi18n.so => /opt/CA/webagent/bin/libsmi18n.so (0x00007f335ec7c000)
        libicudata.so.49 => /opt/CA/webagent/bin/libicudata.so.49 (0x00007f335da5c000)
        libicui18n.so.49 => /opt/CA/webagent/bin/libicui18n.so.49 (0x00007f335d731000)
        libicuio.so.49 => /opt/CA/webagent/bin/libicuio.so.49 (0x00007f335d624000)
        libicuuc.so.49 => /opt/CA/webagent/bin/libicuuc.so.49 (0x00007f335d39e000)
        libsmeventlogger.so => /opt/CA/webagent/bin/libsmeventlogger.so (0x00007f335d297000)
        libsmgda.so => /opt/CA/webagent/bin/libsmgda.so (0x00007f335d195000)
        libsmerrlog.so => /opt/CA/webagent/bin/libsmerrlog.so (0x00007f335d026000)
        libSmXlate.so => /opt/CA/webagent/bin/libSmXlate.so (0x00007f335cec7000)
        libsmvariable.so => /opt/CA/webagent/bin/libsmvariable.so (0x00007f335cda6000)
        libkrb5.so.3 => /opt/CA/webagent/bin/libkrb5.so.3 (0x00007f335cbe3000)
        libgssapi_krb5.so.2 => /opt/CA/webagent/bin/libgssapi_krb5.so.2 (0x00007f335caa1000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f335c885000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f335c681000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f335c479000)
        libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f335c171000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f335be6f000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f335bc59000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f335b88b000)
        libk5crypto.so.3 => /opt/CA/webagent/bin/libk5crypto.so.3 (0x00007f335b758000)
        libcom_err.so.3 => /opt/CA/webagent/bin/libcom_err.so.3 (0x00007f335b655000)
        libkrb5support.so.0 => /opt/CA/webagent/bin/libkrb5support.so.0 (0x00007f335b54b000)
        libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007f335b347000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f335b12d000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f335f1f0000)

Removing all the webagnet .so required libraries, the following OS level libraries are required. 

        linux-vdso.so.1 =>  (0x00007ffc5abfb000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f335c885000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f335c681000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f335c479000)
        libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f335c171000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f335be6f000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f335bc59000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f335b88b000)
        libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007f335b347000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f335b12d000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f335f1f0000)

There are also also "optional Plugins" for the agent that may also be used.

 #LoadPlugin="/opt/CA/webagent/bin/libAffiliate10Plugin.so"
 #LoadPlugin="/opt/CA/webagent/bin/libSAMLAffiliatePlugin.so"
 #LoadPlugin="/opt/CA/webagent/bin/libeTSSOPlugin.so"
 #LoadPlugin="/opt/CA/webagent/bin/libIntroscopePlugin.so"
 #LoadPlugin="/opt/CA/webagent/bin/libSAMLDataPlugin.so"
 #LoadPlugin="/opt/CA/webagent/bin/libOpenIDPlugin.so"
 #LoadPlugin="/opt/CA/webagent/bin/libDisambiguatePlugin.so"
 #LoadPlugin="/opt/CA/webagent/bin/libOAuthPlugin.so"
 #LoadPlugin="/opt/CA/webagent/bin/libCertSessionLinkerPlugin.so"

Running ldd against these plugins will any required OS level libraries as well. 

Be sure to source the agent environment variables prior to running "ldd". If you don't you will see a 'not found' on the libs native to the webagent.