Re: DSO support on AIX

Joe Orton <[email protected]> Wed, 10 Jul 2002 10:35:18 +0100
Newsgroups gmane.linux.redhat.stronghold
Message-ID <[email protected]>
On Tue, Jul 09, 2002 at 11:54:09AM -0500, McAllister, Andrew wrote:
> 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

The version of GCC used here can be crucial to success: we use gcc 3.0.3
(configured with --disable-shared) - maybe you can try using that
version?

Regards,

joe

-- 
Joe Orton, Red Hat Europe, Stronghold Engineering