Steffen Haase at [EMAIL PROTECTED] wrote:

> Hi Pier,
> 
> "Pier P. Fumagalli" wrote:
> 
>> I'm looking at your Makefiles, and somehow there's something I don't
>> understant... It seems that your httpd is not configured to support DSO
>> modules. Can you check that the output of "httpd -l" includes "mod_so.c"?
> 
> cheiron:/usr/local/httpd/bin # ./httpd -l
> Compiled-in modules:
> http_core.c
> mod_env.c
> mod_log_config.c
> mod_mime.c
> mod_negotiation.c
> mod_status.c
> mod_include.c
> mod_autoindex.c
> mod_dir.c
> mod_cgi.c
> mod_asis.c
> mod_imap.c
> mod_actions.c
> mod_userdir.c
> mod_alias.c
> mod_access.c
> mod_auth.c
> mod_so.c
> mod_setenvif.c
> suexec: disabled; invalid wrapper /usr/local/httpd/bin/suexec
> cheiron:/usr/local/httpd/bin #
> 
> 
>> Also, your "apxs" should export the command used for linking DSO modules.
>> For example, in my case when I hit "apxs -q LD_SHLIB", I get "cc", my
>> default "ld" command used for linking DSO modules... While from the makefile
>> you sent me, it seems that "apxs" is not outputting that value correctly.
> 
> /usr/local/httpd/bin/apxs -q LD_SHLIB
> nothing :(
> 
> /usr/local/httpd/bin/apxs -q CC
> gcc
> 
> /usr/local/httpd/bin/apxs -q CFLAGS
> -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
> -DNO_DL_NEEDEDcheiron:/usr/local/install/jakarta/jakarta-tomcat-connectors/

That's definitely weird... If you have mod_so, LD_SHLIB _should_ be defined.
Can you put "gcc" in your Makefile near APXS_LD_SHLIB, and see what happens.
I really don't understand why this is happening...

    Pier

Reply via email to