You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Fenlason, Josh" <jf...@ptc.com> on 2005/03/23 22:09:48 UTC

[users@httpd] Building Apache on AIX

Hey everybody!
I'm trying to build Apache 2.0.53 on AIX, but I'm running into some
trouble that I haven't been able to figure out yet.  Any tips or
suggestions would be greatly appreciated.  Thanks in advance.
It seems to configure fine, but I get this error at the end of the
build.  
 
Binary image successfully created...
exec(): 0509-036 Cannot load program ./bindist/bin/httpd because of the
following errors:
        0509-150   Dependent module libaprutil-0.so could not be loaded.
        0509-022 Cannot load module libaprutil-0.so.
        0509-026 System error: A file or directory in the path name does
not exist.
Creating supplementary files...
exec(): 0509-036 Cannot load program ./bindist/bin/httpd because of the
following errors:
        0509-150   Dependent module libaprutil-0.so could not be loaded.
        0509-022 Cannot load module libaprutil-0.so.
        0509-026 System error: A file or directory in the path name does
not exist.

Here is the error that I get when I try to run the Apache:
 
bash-2.05b$ ./apachectl start
exec(): 0509-036 Cannot load program
/home/snow/jfenlason/aix/test/apache2/bin/httpd because of the following
errors:
        0509-022 Cannot load module
/home/snow/jfenlason/aix/test/apache2/lib/libapr-0.so.
        0509-150   Dependent module libgcc_s_pthread.a(shr.o) could not
be loaded.
        0509-022 Cannot load module libgcc_s_pthread.a(shr.o).
        0509-026 System error: A file or directory in the path name does
not exist.
 
Here are the contents of the resulting config.nice:
 
#! /bin/sh
#
# Created by configure
 
CFLAGS="-O2"; export CFLAGS
LDFLAGS="-static-libgcc -Wl,-bnolibpath -Wl,-blibpath:/usr/lib:/lib";
export LDFLAGS
"./configure" \
"--with-mpm=worker" \
"--enable-layout=Apache" \
"--prefix=/home/snow/jfenlason/aix/httpd-2.0.53/bindist" \
"--with-expat=/home/snow/jfenlason/aix/httpd-2.0.53/srclib/apr-util/xml/
expat" \
"--enable-static-support" \
"--enable-exception-hook" \
"--enable-so" \
"--enable-ldap=shared" \
"--enable-auth-ldap=shared" \
"--enable-ssl=shared" \
"--enable-deflate=shared" \
"--enable-cache=shared" \
"--enable-disk-cache=shared" \
"--enable-file-cache=shared" \
"--enable-mem-cache=shared" \
"--enable-proxy=shared" \
"--enable-proxy-connect=shared" \
"--enable-proxy-ftp=shared" \
"--enable-proxy-http=shared" \
"--enable-charset-lite=shared" \
"--enable-logio=shared" \
"--enable-mods-shared=all" \
"--disable-auth-digest" \
"--with-ssl=/home/snow/jfenlason/aix/lib/opensslStaticDist" \
"--with-ldap" \
"--with-ldap-include=/home/snow/jfenlason/aix/lib/ldapcsdk/include" \
"--with-ldap-lib=/home/snow/jfenlason/aix/lib/ldapcsdk/lib" \
"--with-z=/home/snow/jfenlason/aix/lib/zlibDist" \
"$@"

I'm using gcc 3.3.2 and gnu make 3.8

 

Re: [users@httpd] Building Apache on AIX

Posted by Carlos Arturo Trujillo Silva <tr...@gmail.com>.
I recommend you  that will install Apache 2.0.44
(http://www.aixpanish.com/modules.php?name=Downloads&d_op=viewdownload&cid=4),
it's compiled and installp format. It's great.  But if you want
compile it then you must go to
ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/ and
download the better version of gcc and g++ for you aix version and
install all the libraries required.




On Wed, 23 Mar 2005 16:09:48 -0500, Fenlason, Josh <jf...@ptc.com> wrote:
>  
> Hey everybody! 
> I'm trying to build Apache 2.0.53 on AIX, but I'm running into some trouble
> that I haven't been able to figure out yet.  Any tips or suggestions would
> be greatly appreciated.  Thanks in advance. 
> It seems to configure fine, but I get this error at the end of the build.  
>   
> Binary image successfully created...
> exec(): 0509-036 Cannot load program ./bindist/bin/httpd because of the
> following errors:
>         0509-150   Dependent module libaprutil-0.so could not be loaded.
>         0509-022 Cannot load module libaprutil-0.so.
>         0509-026 System error: A file or directory in the path name does not
> exist.
> Creating supplementary files...
> exec(): 0509-036 Cannot load program ./bindist/bin/httpd because of the
> following errors:
>         0509-150   Dependent module libaprutil-0.so could not be loaded.
>         0509-022 Cannot load module libaprutil-0.so.
>         0509-026 System error: A file or directory in the path name does not
> exist.
>  
> Here is the error that I get when I try to run the Apache: 
>   
> bash-2.05b$ ./apachectl start
> exec(): 0509-036 Cannot load program
> /home/snow/jfenlason/aix/test/apache2/bin/httpd because of the following
> errors:
>         0509-022 Cannot load module
> /home/snow/jfenlason/aix/test/apache2/lib/libapr-0.so.
>         0509-150   Dependent module libgcc_s_pthread.a(shr.o) could not be
> loaded.
>         0509-022 Cannot load module libgcc_s_pthread.a(shr.o).
>         0509-026 System error: A file or directory in the path name does not
> exist. 
>   
> Here are the contents of the resulting config.nice: 
>   
> #! /bin/sh
> #
> # Created by configure 
>   
> CFLAGS="-O2"; export CFLAGS
> LDFLAGS="-static-libgcc -Wl,-bnolibpath -Wl,-blibpath:/usr/lib:/lib"; export
> LDFLAGS
> "./configure" \
> "--with-mpm=worker" \
> "--enable-layout=Apache" \
> "--prefix=/home/snow/jfenlason/aix/httpd-2.0.53/bindist" \
> "--with-expat=/home/snow/jfenlason/aix/httpd-2.0.53/srclib/apr-util/xml/expat"
> \
> "--enable-static-support" \
> "--enable-exception-hook" \
> "--enable-so" \
> "--enable-ldap=shared" \
> "--enable-auth-ldap=shared" \
> "--enable-ssl=shared" \
> "--enable-deflate=shared" \
> "--enable-cache=shared" \
> "--enable-disk-cache=shared" \
> "--enable-file-cache=shared" \
> "--enable-mem-cache=shared" \
> "--enable-proxy=shared" \
> "--enable-proxy-connect=shared" \
> "--enable-proxy-ftp=shared" \
> "--enable-proxy-http=shared" \
> "--enable-charset-lite=shared" \
> "--enable-logio=shared" \
> "--enable-mods-shared=all" \
> "--disable-auth-digest" \
> "--with-ssl=/home/snow/jfenlason/aix/lib/opensslStaticDist" \
> "--with-ldap" \
> "--with-ldap-include=/home/snow/jfenlason/aix/lib/ldapcsdk/include" \
> "--with-ldap-lib=/home/snow/jfenlason/aix/lib/ldapcsdk/lib" \
> "--with-z=/home/snow/jfenlason/aix/lib/zlibDist" \
> "$@"
>  
> I'm using gcc 3.3.2 and gnu make 3.8
>  
>   


-- 
Gracias.
Atentamente,
Carlos Arturo Trujillo Silva
Ingeniero de Sistemas

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org