To enable your custom agent to interact with SiteMinder, compile your agent application with SmAgentAPI.h and link to the platform-specific library listed following. On UNIX platforms you must add the library to the environment variable that specifies the library search path. The variable takes a colon-separated list of directories and are also listed following.
Platform |
Library |
Directory |
Variable Name |
---|---|---|---|
Windows |
SmAgentAPI.lib |
<install_path>\sdk\lib\win32\ |
|
Solaris |
libsmagentapi.so |
<install_path>/sdk/bin |
LD_LIBRARY_PATH |
HP-UX |
libsmagentapi.so |
<install_path>/sdk/bin |
SHLIB_PATH |
AIX |
libsmagentapi.so |
<install_path>/sdk/bin |
LIBPATH |
Linux |
libsmagentapi.so |
<install_path>/sdk/bin |
LD_LIBRARY_PATH |
Note: If you are building the agent API application using Microsoft Visual C++, make sure you link with ws2_32.lib.
Copyright © 2010 CA. All rights reserved. | Email CA about this topic |