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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to