httpd-users mailing list archives

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

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 mod_mpm_prefork.so. 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 
--enable-so=static

-- 
Mimiko desu.

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


Mime
View raw message