[users@httpd] Load module .a

2014-10-16 Thread Mimiko
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

Re: [users@httpd] Load module .a

2014-10-16 Thread Eric Covener
On Thu, Oct 16, 2014 at 5:57 AM, Mimiko vbv...@gmail.com wrote: I've compiled httpd 2.4.11 and in modules directory are only *.a and *.la modules. How can I load them? ​You can't. Usually this happens when your version of libtool doesn't know how to create shared libraries on your platform

Re: [users@httpd] Load module .a

2014-10-16 Thread Mimiko
On 16.10.2014 14:21, Eric Covener wrote: You can't. Usually this happens when your version of libtool doesn't know how to create shared libraries on your platform (you can find the message in config.log). It can be from bad compiler/linker flags or from an out-of-date libtool. Unfortunately

Re: [users@httpd] Load module .a

2014-10-16 Thread Nick Kew
On Thu, 2014-10-16 at 12:57 +0300, Mimiko wrote: Hello. I've compiled httpd 2.4.11 and in modules directory are only *.a and *.la modules. Is that after make install? What's in .libs in your directories where modules were built? Do the timestamps show the .a/.la as what you just installed?

Re: [users@httpd] Load module .a

2014-10-16 Thread Mimiko
On 16.10.2014 15:34, Nick Kew wrote: Is that after make install? What's in .libs in your directories where modules were built? Do the timestamps show the .a/.la as what you just installed? make install - just installs the libs and give warning that .so is not found assuming .a an archive

Re: [users@httpd] Load module .a

2014-10-16 Thread Mimiko
On 16.10.2014 15:34, Nick Kew wrote: How does that differ from the command your build, or apxs on your system, executed? For example: make[2]: Entering directory `/home/mimiko/src/httpd/server' make[3]: Entering directory `/home/mimiko/src/httpd/server/mpm' make[4]: Entering directory

Re: [users@httpd] Load module .a

2014-10-16 Thread Eric Covener
On Thu, Oct 16, 2014 at 9:02 AM, Mimiko vbv...@gmail.com wrote: Why .la? That's just how libtool works. You don't get an .so because your libtool doesn't know how to create them on your system.

Re: [users@httpd] Load module .a

2014-10-16 Thread Mimiko
On 16.10.2014 16:07, Eric Covener wrote: That's just how libtool works. You don't get an .so because your libtool doesn't know how to create them on your system. How's that? I've compiled other projects and created .so files. Anyway, for now I will stick with that trick. -- Mimiko desu.

Re: [users@httpd] Load module .a

2014-10-16 Thread Oscar Knorn
On 16.10.2014 um 15:44, Mimiko wrote: On 16.10.2014 16:07, Eric Covener wrote: That's just how libtool works. You don't get an .so because your libtool doesn't know how to create them on your system. How's that? I've compiled other projects and created .so files. Anyway, for now I will