You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Ralf S. Engelschall" <rs...@engelschall.com> on 1998/03/13 13:01:44 UTC

AIX and Shared Objects?

I've currently trying to add shared object support for AIX 4.2.  After
fighting a lot with AIX's braindead "ld" I'm now able to build and install
Apache out-of-the-box with shared objects. But when I try to
run it I always get:

  $ /tmp/apache/sbin/apachectl start
  Syntax error on line 18 of /tmp/apache/etc/httpd.conf:
  Cannot load /tmp/apache/libexec/mod_log_config.so into server: 
     No such file or directory
  /tmp/apache/sbin/apachectl start: httpd could not be started

Although the file _is_ there:

  $ ls -l /tmp/apache/libexec/mod_log_config.so 
  -rwxr-xr-x   1 test     urz        43563 Mar 13 12:55
     /tmp/apache/libexec/mod_log_config.so
  $ file /tmp/apache/libexec/mod_log_config.so      
  /tmp/apache/libexec/mod_log_config.so:  executable (RISC System/6000) or
  object module not stripped

Seems like AIX's dlopen() either even more braindead or at least the error
message is totally bogus. What is needed under this ugly system AIX 4.2
to make dlopen() happy to load such a .so file? Any ideas out there?

                                       Ralf S. Engelschall
                                       rse@engelschall.com
                                       www.engelschall.com