DSO support on AIX

"McAllister, Andrew" <[email protected]> Tue, 9 Jul 2002 11:54:09 -0500
Newsgroups gmane.linux.redhat.stronghold
Message-ID <0446E3CEA580B2449829336B03DC259B017E573F@um-mailnode1.um.umsystem.edu>
We've downloaded the latest Stronghold (3017) and installed it on our AIX 4.3.1 box. It works as delivered as a binary. BUT...

We can re-compile but we don't seem to be able to get dynamic module support. In particular, the php3 module shipped no longer works and we get a message like:

web:/home/web/stronghold/bin>./strongholdctl start
Syntax error on line 235 of /home/web/stronghold/conf/httpd.conf:
Cannot load /home/web/stronghold/modules/libexec/libphp.so into server: readExports: bad magic
Server could not be started
./strongholdctl start: httpd could not be started

Also, we have several other .so modules that we would like to load (in particular auth_ldap.so), but they produce the same error.

I've downloaded Apache 1.3.26 and can recompile and load our dso modules just fine. There is something quirky with Stronghold.

My understanding is that all of the .so mods need to be recompiled when you recompile the main httpd daemon anyway. And, that's what we're trying, no luck.

OS is AIX 4.3.1
Compiler is gcc 3.1 (I'm willing to change to a different version)
LD is native AIX

Has anyone out there successfully recompiled ANY dynamic module on AIX for use with Stronghold? Any pointers?

For what it's worth, this all seems to work well on our Solaris boxes.

Andrew McAllister
University of Missouri