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 the httpd build does not
break up front under this condition.

In config.log no errors appear about modules. They are marked or as static, or as shared, or as not to build. But if a module is marked as shared, why it does not create *.so library?

Meanwhile I've found the solution:

gcc -shared -Wl,--whole-archive /opt/httpd/modules/mod_foo.a -Wl,--no-whole-archive -o /opt/httpd/modules/mod_foo.so

I've done this command for all modules in modules directory and loaded in httpd without problem. It's a trick thought.

--
Mimiko desu.

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

Reply via email to