LD_LIBRARY_PATH settings for SiteMinder Java SDK (Legacy_Onyx KB Id: 214884)

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

Description:

I have a question about LD_LIBRARY_PATH settings for SiteMinder6.0 Java SDK.

Do we have to set not only smagentapi.lib but also smpolicyapi45.lib as LD_LIBRARY_PATH ?

Thank you in advance.


Solution:

smagentapi.lib is used by agent API and smpolicyapi45.lib is used by policy server api.
Therefore if your program needs to use agent api then you need to include smagentapi.lib in LD_LIBRARY_PATH.
Same goes to smpolicyapi45.lib. If your program needs to use policy server api then you need to include smpolicyapi45.lib in LD_LIBRARY_PATH.
This is to make sure that the environment has set appropriately for your program to call our library files.