Installation guide

Pre-installation Tasks
Chapter 4 Policy Agents on Red Hat, SuSE, and Debian Linux 109
2. Before you run configure, set an environment variable LIBS=-lpthread as
shown in the table.
3. Configure your Apache Web Server with the following flags:
configure --enable-rule=SHARED_CORE --enable-shared=max
4. Rebuild and install Apache Web Server.
5. Install the Apache agent.
Policy Agent for Apache 2.0.48
If you are installing the policy agent for Apache 2.0.48 on Red Hat Advanced
Server 2.1, make sure that the following, or a later version, of Red Hat’s Program
Managers (RPM) are installed on the system for the agent to run correctly:
gcc-c++-2.96-124.7.2
glibc-2.2.4-32.11
The RPMs are available at the following locations:
ftp://rpmfind.net/linux/redhat/updates/enterprise/2.1AS/en/os/SRPMS/gcc-2
.96-124.7.2.src.rpm
ftp://rpmfind.net/linux/redhat/updates/enterprise/2.1AS/en/os/SRPMS/glibc
-2.2.4-32.11.src.rpm
This is required because of a bug with exception handling in the C/C++
libraries in the RPM
gcc-2.96-118.7.2
that comes bundled with Red Hat
Advanced Server 2.1.
Table 4-1 Setting the Environment Variable
Shell Environment Variable
sh LIBS=-lpthread;export
bash export LIBS=-lpthread
tcsh setenv LIBS '-lpthread'