On Fri, Oct 9, 2015 at 9:46 AM, VELIDANDI, RAMAKRISHNA < ramakrishna.velida...@unilever.com> wrote:
> Hi All, > > > > I am newbie for Apache. > > > > I'm trying to build apache 2.2 on AIX 7 by copying entire installed > directory to different AIX 7 host. > > > > I adjusted apachectl entries and envvars and envvars-std, But stuck with > error while running ./apachectl > > > > exec(): 0509-036 Cannot load program /apache/apache2.2/patch2.2/bin/httpd > because of the following errors: > > 0509-022 Cannot load module > /data/apache/patch2.2/lib/libaprutil-1.so. > > 0509-150 Dependent module > /apache/patch2.2/lib/libexpat.a(libexpat.so.0) could not be loaded. > > 0509-022 Cannot load module > /apache/patch2.2/lib/libexpat.a(libexpat.so.0). > > 0509-026 System error: A file or directory in the path name does > not exist. > > 0509-022 Cannot load module httpd. > > 0509-150 Dependent module > /data/apache/patch2.2/lib/libaprutil-1.so could not be loaded. > > 0509-022 Cannot load module . > > > > Can you please guide with detailed approach to be followed for this > requirement as I have not found useful info in this regard. > > > > Requirement: Want to setup apache on other system (of same OS-AIX) with > copy of existing apache(apache/patch2.2), without installing from software. > > > > > > *Thanks & Regards* > *Ram* > > One way is to use an install path on the build machine that can also be used on the target machine (e.g., /opt/unilever/httpd22 or something else that won't be used by third-party packages). Alternatively, you can update LIBPATH in the <install-path>/bin/envvars file to use the actual install path. It will currently have the install path on the build machine. > -- Born in Roswell... married an alien... http://emptyhammock.com/