httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <>
Subject Re: APXS issue.
Date Sat, 21 Jul 2007 23:32:09 GMT
Farokh Irani wrote:
>> On Wed, 2007-07-18 at 07:23 -0400, Farokh Irani wrote:
>>>  See any operating system documentation about shared libraries for
>>>  more information, such as the ld(1) and manual pages.
>>>  ----------------------------------------------------------------------
>>>  chmod 755 /usr/local/libexec/apache22/
>>  Not neccessary - shared libs don't need to be executable.

Slightly myopic perspective, obviously a linux-user comment ;-)

Several linux derivatives require all loadable modules to be executable
to be loaded as code pages.  Sensible thing, eh ;-?  Examples include AIX,
HPUX etc.

> This is also something that is in the apxs code around line 488. Of
> course, the apxs2 on my debian machine does chmod 644.

Well, there's no harm (no benefit I can identify, either) if a vendor on
linux makes this tweak.

None of this has anything to do with the missing symbol, I expect.  Which
symbol is missing, is this your fancy_module data symbol?

You probably didn't ensure that the apache2 module structure to be declared
in a C namespace as an export.  My mod_aspdotnet is one such example,
Althought this c++ module for MS compilation has a bunch of .NET'isms, this
particular fragment shouldn't change;

extern "C" {
    extern module AP_MODULE_DECLARE_DATA aspdotnet_module;

module AP_MODULE_DECLARE_DATA ::aspdotnet_module =
    create_asp_net_dirconf,     /* dir config */
    merge_asp_net_dirconf,      /* merge dir config */
    create_asp_net_srvconf,     /* server config */
    merge_asp_net_srvconf,      /* merge server config */
    asp_net_cmds,               /* command apr_table_t */
    register_hooks              /* register hooks */


View raw message