On WebGate 11g Installation (WebGate is Policy Enforcement Point installed with Web Server), as per Oracle documentation you must set LD_LIBRARAY_PATH to OHS ORACLE_HOME/lib and run EditHttpConf as shown below
export LD_LIBRARY_PATH=$MW_HOME/Oracle_WT1/lib
cd $WG_HOME/webgate/ohs/tools/setup/InstallTools
./EditHttpConf -w /oracle/Oracle_WT1/instances/instance1/config/OHS/ohs1
On IBM AIX , EditHttpConf throws error like
____
exec(): 0509-036 Cannot load program ./EditHttpConf because of the following errors:
0509-150 Dependent module libclntsh.so could not be loaded.
0509-022 Cannot load module libclntsh.so.
0509-026 System error: A file or directory in the path name does not exist.
____
set LIBPATH and NOT LD_LIBRARY_PATH
i.e.
export LIBPATH=$MW_HOME/Oracle_WT1/lib
Where $MW_HOME/Oracle_WT1 is directory in which Oracle HTTP Server is installed.