Sun Java System Access Manager Policy Agent 2.2 Guide for Apache HTTP Server 2.0.54

ProcedureTo Prepare to Install Agent for Apache HTTP Server Specifically on Linux Systems

If you are installing the agent for Apache HTTP Server on a Linux system, you must complete the following tasks in the order they are listed below, to ensure that Apache HTTP Server is configured with the POSIX Threads library. Failing to perform these steps might result in the application becoming unusable or might result in the entire system becoming unstable and unusable.

  1. Get the Apache HTTP Server source (version 1.3.33 or 2.0.54) from

  2. Before you run configure, set an environment variable LIBS=-lpthread as shown in the table.


    Environment Variable  




    export LIBS=-lpthread 


    setenv LIBS ’-lpthread’ 

  3. Configure your version of Apache HTTP Server with the respective flags as follows:

    • Apache HTTP Server 1.3.33

      Apache-source/configure --prefix=Apache-base \
      --enable-rule=SHARED_CORE --enable-shared=max
    • Apache HTTP Server 2.0.54

    Apache-source/configure --prefix=Apache-base --enable-so

    represents the directory where the Apache HTTP Server source was unpacked


    represents the directory where Apache HTTP Server was installed

  4. Rebuild and install Apache HTTP Server.

    Refer to the Apache HTTP Server documentation for details on how best to install and configure this server.

  5. Ensure that Apache HTTP Server has the latest patches available.