httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mimiko <>
Subject [users@httpd] Load module .a
Date Thu, 16 Oct 2014 09:57:47 GMT

I've compiled httpd 2.4.11 and in modules directory are only *.a and 
*.la modules. How can I load them? This modules where specified to be 
shared, but no *.so is created. At minimum I have mod_mpm_prefork.a and 
no httpd cant start without a mpm, so LoadModule 
mpm_prefork_module modules/mod_mpm_prefork.a gives this error:

httpd: Syntax error on line 130 of /opt/httpd/conf/httpd.conf: Cannot 
load modules/mod_mpm_prefork.a into server: 
/opt/httpd/modules/mod_mpm_prefork.a: invalid ELF header

How to load such a module? Or how to compile *.so module?

./configure --prefix=/opt/httpd --enable-option-checking 
--enable-hook-probes=no --enable-exception-hook --enable-modules=all 
--enable-mods-shared=all --with-apr=/opt/apr-1 
--with-apr-util=/opt/apr-util --with-pcre=/opt/pcre --with-z=/opt/zlib 
--with-libxml2=/opt/libxml2/include/libxml2 --with-lua=/opt/lua 
--with-ssl=/opt/openssl --with-mpm=prefork --enable-mpms-shared=all 

Mimiko desu.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message