www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Graham <chr...@webwombat.com.au>
Subject os-aix/5309: AIX - dlopen() problems fixed
Date Mon, 15 Nov 1999 00:11:58 GMT

>Number:         5309
>Category:       os-aix
>Synopsis:       AIX - dlopen() problems fixed
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sun Nov 14 16:20:00 PST 1999
>Originator:     chrisg@webwombat.com.au
>Release:        1.3.9
AIX arachnide9aix 3 4 000970664C00

AIX 4.3.2
IBM Visual Age C Compiler
In trying to generate a 64 bit version of Apache with DSO support, it was
found that the original "do it yourself" code [in os-aix-dso.c] does not
work with a 64 bit build of Apache. To work around this, I had to either
fix the supplied code, or get Apache to use real AIX dlopen... etc.
I chose the latter.

The fix ented up being quite simple really. See below.

In src/os/unix/os.h
 * Do not use native AIX DSO support (Only for AIX 4.1 and below)
#if AIX <= 41

In src/os/unix/os.c

 * Insert the DSO emulation code for AIX (Only for AIX 4.1 and below)
#if AIX <= 41
#include "os-aix-dso.c"

And the most important bit:

In src/support/httpd.exp:

Change the first line of httpd.exp from:



#! .

And bingo, you have have a 64 bit, native DSO support enabled version of Apache.
[In order for any reply to be added to the PR database, you need]
[to include <apbugs@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]

View raw message