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.
Get the Apache HTTP Server source (version 1.3.33 or 2.0.54) from http://httpd.apache.org/
Before you run configure, set an environment variable LIBS=-lpthread as shown in the table.
Shell |
Environment Variable |
---|---|
sh |
LIBS=-lpthread;export |
bash |
export LIBS=-lpthread |
tcsh |
setenv LIBS ’-lpthread’ |
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
Rebuild and install Apache HTTP Server.
Refer to the Apache HTTP Server documentation for details on how best to install and configure this server.
Ensure that Apache HTTP Server has the latest patches available.