httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 19012] - mod_so can not be actived in AIX 5.1
Date Wed, 16 Apr 2003 22:47:08 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19012>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19012

mod_so can not be actived in AIX 5.1

trawick@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |



------- Additional Comments From trawick@apache.org  2003-04-16 22:47 -------
dang it, I think it is a build problem related to the display issue you noted
back at square one...  your DSO looks great

try this:

$ cd /path/to/httpd-2.0.45
$ grep HTTPD_LDFLAGS build/config_vars.mk

I bet the output is simply

HTTPD_LDFLAGS = 

when it should be something similar to 

HTTPD_LDFLAGS = -Wl,-uXML_Parse -Wl,-bE:/path/to/server/httpd.exp

The lack of the weird "-Wl,-bE:" option means that httpd doesn't export the
Apache API to DSOs, subsequently leading to DSOs failing to load.

Depending on how mod_so gets enabled, the variable $enable_so may or may not get
set, and if it isn't set then the right LDFLAGS for linking httpd don't get
initialized.

If you verify that HTTPD_LDFLAGS is an empty string, here is a work-around that
worked for me:  Add "--enable-so" to your Apache configure invocation, as in

make distclean && ./configure --enable-so --other-opts && make &&
make install

By explicitly turning on mod_so (using the Apache 2 option this time :) ), we
avoid the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message