Apache 2.2.9 on AIX copied in another location

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I'm trying to build apache 2.2.9 on AIX 5.2 and run it in different
from installation location.
I get the following error:

        0509-036 Cannot load program ./httpd because of the following errors:
        0509-022 Cannot load module /new_location/lib/libaprutil-1.so.
        0509-150   Dependent module
/original_location/lib/libexpat.a(libexpat.so.0) could not be loaded.
        0509-022 Cannot load module
/original_location/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 /new_location/lib/libaprutil-1.so
could not be loaded.
        0509-022 Cannot load module .

Apache configuration is:

CC="xlc_r"; export CC
"./configure" \
"--prefix=/original_location" \
"--enable-deflate=no" \
"--enable-ssl" \
"--with-ssl=/ssl/lib/path" \
"--enable-so" \
"--enable-mods-shared=all" \
"--with-mpm=prefork"

It runs OK in the location specified by --prefix, but when moved to
another location it fails to start. Both LD_LIBRARY_PATH and LIBPATH
point to /new_location/lib/.

I searched the list, but could not found definite answer / workaround for this.

Is there some way to move the install folder and still have running
Apache with shared modules?

Regards,
Borislav Ivanov

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux