Sun Java System Access Manager 7 2005Q4 C API Reference

Required C Libraries

You can run the sample programs by launching the generated executables on the command line. Be sure to set the library path appropriately for the platform you are using.

Solaris Platform

Set the LD_LIBRARY_PATH environment variable to include the following library directories:/usr/lib/mps:/opt/SUNWam/lib:/usr/lib:/usr/ucblib which contain: libamsdk.so, libxml2.so, libssl3.so, libnss3.so, libplc4.so, libplds4.so, libnspr4.so, and libucb.so.

The directory /usr/lib is included before /usr/ucblib so that common programs such as editors will continue to function.

Linux Platform

Set the LD_LIBRARY_PATH environment variable to include the directory:AccessManager-base-dir/agent/libwhich contains: libamsdk.so, libxml2.so,libssl3.so, libnss3.so, libplc4.so, libplds4.so and libnspr4.so.

Windows Platform

You must have the /AccessManager-base-dir/SUNWam/lib directory in your path before launching the sample programs. Alternatively, you can use the run.bat script to launch the sample programs. The script will set your path appropriately.