Community articleSetting the library path on AIX, Linux, and Solaris
Added by IBM contributorIBM on May 2, 2012
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

You must add the location of the API library files to the library path for your operating system. You must also ensure that the location of the Network Security Services libraries is on your path.



You must add the location of the API library files to the library path for your operating system. You must also ensure that the location of the Network Security Services libraries is on your path.

Note: If you are installing the API for use with WebSphere® Application Server, you do not need to perform this task.

If you are using AIX®, the environment variable that you set is LIBPATH. If you are using Linux™ or Solaris, the environment variable that you set is LD_LIBRARY_PATH.

If you installed the API in the default location, the paths are as shown. Otherwise, you must set LIBPATH and LD_LIBRARY_PATH variables to match the location of the API on your system.

If you are using AIX, set your LIBPATH to the following directories:

/usr/IBM/FormsServer/8.0/API/redist/AIX
/usr/IBM/FormsServer/8.0/API/redist/AIX/PureEdge/80/system
<path to Network Security Services libraries>


If you are using Linux, set your LD_LIBRARY_PATH to the following directories:

/opt/ibm/FormsServer/8.0/API/redist/Linux
/opt/ibm/FormsServer/8.0/API/redist/Linux/PureEdge/80/system
<path to Network Security Services libraries>


If you are using Solaris, set your LD_LIBRARY_PATH to the following directories:

/opt/IBM/FormsServer/8.0/API/redist/SunOS
/opt/IBM/FormsServer/8.0/API/redist/SunOS/PureEdge/80/system
<path to Network Security Services libraries>


The Network Security Services libraries are required for creating and verifying electronic signatures. The libraries are installed with most Netscape and Mozilla products, including Firefox, SeaMonkey, and Mozilla Application Suite. They can also be obtained directly from mozilla.org. To find the location of this directory on your computer, search for the file libnss3.so.

Many methods exist of setting these paths; the method that you choose depends on the operating system, the interactive shell that you use, the preferences of the system administrator, or any other policies that might apply in your particular environment.

Parent topic: Configuring the API on AIX, Linux, and Solaris