Can't load mod-xslt2 in apache2 on Debian annirack
From: annirack@xxxxxxx
To: users@xxxxxxxxxxxxxxxx
Subject: Can't load mod-xslt2 in apache2 on Debian
Date: Fri, 3 Aug 2007 19:10:25 +0200 (CEST)
Hi, I'm trying to start apache2 after having installed mod-xslt
(libapache2-modxslt). When apache2 starts, it fails with the following:
Starting apache 2.0 web server...Syntax error on line 1 of
/etc/apache2/mods-enabled/modxslt.load:
API module structure `mxslt_module' in file
/usr/lib/apache2/modules/mod_xslt.so is garbled - perhaps this is not an
Apache module DSO?
failed!
I've done an objdump on the mod_xslt.so, and the results are below. What can
I do to get modxslt working?
Thanks,
Brendan
# objdump -T mod_xslt.so
mod_xslt.so: file format elf32-i386
DYNAMIC SYMBOL TABLE:
000011a8 l d .init 00000000 .init
00001550 l d .text 00000000 .text
00002a84 l d .fini 00000000 .fini
00002aa0 l d .rodata 00000000 .rodata
00002f4c l d .eh_frame 00000000 .eh_frame
00003000 l d .ctors 00000000 .ctors
00003008 l d .dtors 00000000 .dtors
00003010 l d .jcr 00000000 .jcr
00003020 l d .data.rel.ro 00000000 .data.rel.ro
00003300 l d .data 00000000 .data
00003360 l d .bss 00000000 .bss
00000000 DF *UND* 00000035 xmalloc
00000000 DF *UND* 00000092 mxslt_xml_load
00000000 DF *UND* 00000039 mxslt_recursion_init
00000000 D *UND* 00000000 ap_log_rerror
00000000 D *UND* 00000000 ap_hook_post_config
00000000 DF *UND* 0000010d mxslt_yy_str_parse
00000000 DF *UND* 0000002b apr_threadkey_private_get
000029d0 g DF .text 00000062 Base mxslt_ap2_close_brigade
00000000 DF *UND* 00000072 apr_table_overlay
00000000 DF *UND* 0000007f mxslt_doc_parse_stylesheet
00002100 g DF .text 00000077 Base mxslt_ap2_create_input
00000000 D *UND* 00000000 ap_register_output_filter
00000000 DF *UND* 00000054 mxslt_http_recurse_push
00000000 DF *UND* 000001cd mxslt_doc_param_urlparse
00000000 DO *UND* 00000020 apr_bucket_type_eos
00000000 DF *UND* 000001b3 mxslt_doc_parse_pi
00003368 g DO .bss 00000004 Base mxslt_ap2_global_recursion
00000000 DF *UND* 0000002d apr_threadkey_private_set
00000000 DF *UND* 0000019b mxslt_doc_done
00000000 DF *UND* 0000021c apr_table_set
00000000 DF *UND* 00000159 mxslt_xml_init
000011a8 g DF .init 00000000 Base _init
00000000 DF *UND* 00000015 mxslt_state_init
00000000 DF *UND* 0000005b apr_bucket_transient_create
00003320 g DO .data 00000038 Base mxslt_module
00000000 D *UND* 00000000 ap_pass_brigade
00000000 DF *UND* 00000456 mxslt_doc_parse
00000000 DF *UND* 00000066 apr_threadkey_private_create
00000000 DF *UND* 000000f4 xmlAllocParserInputBuffer
00000000 DF *UND* 00000058 xstrdup
00000000 DF *UND* 00000064 apr_pstrdup
00000000 DF *UND* 00000089 mxslt_xml_done
00000000 DF *UND* 0000051f mxslt_doc_send
00000000 DF *UND* 0000019d apr_table_unset
00000000 DF *UND* 00000090 mxslt_doc_param_hdr_add
00000000 DF *UND* 00000090 mxslt_doc_param_add
00000000 DF *UND* 000000af GLIBC_2.0 strlen
00000000 D *UND* 00000000 ap_log_error
00000000 DF *UND* 00000108 apr_table_get
000027a0 g DF .text 0000022d Base mxslt_ap2_read_brigade
00000000 DF *UND* 0000004c mxslt_http_recurse_allowed
000026d0 g DF .text 000000c7 Base mxslt_ap2_error
00000000 DF *UND* 000002f8 apr_palloc
00000000 D *UND* 00000000 ap_register_input_filter
00003360 g D *ABS* 00000000 Base __bss_start
00000000 DF *UND* 0000013b mxslt_doc_init
00000000 D *UND* 00000000 ap_save_brigade
00001f30 g DF .text 00000069 Base mxslt_ap2_brigade_dump
00000000 DF *UND* 0000023e apr_pvsprintf
0000336c g DO .bss 00000004 Base mxslt_ap2_global_state
00000000 DF *UND* 00000039 GLIBC_2.0 printf
00000000 DF *UND* 0000005f apr_table_make
00002a84 g DF .fini 00000000 Base _fini
00000000 DF *UND* 00000046 GLIBC_2.0 memcpy
00000000 w DF *UND* 000000b6 GLIBC_2.1.3 __cxa_finalize
00000000 DF *UND* 0000016e mxslt_doc_load
00002180 g DF .text 00000542 Base mxslt_ap2_file_parse
00000000 DF *UND* 00000008 apr_table_elts
00000000 D *UND* 00000000 ap_add_version_component
00003360 g D *ABS* 00000000 Base _edata
00000000 DF *UND* 0000006c mxslt_http_recurse_dump
00000000 DF *UND* 000000b8 GLIBC_2.0 free
00003374 g D *ABS* 00000000 Base _end
00000000 DF *UND* 0000004d apr_bucket_eos_create
00000000 DF *UND* 00000072 apr_brigade_create
00003370 g DO .bss 00000004 Base mxslt_ap2_global_ectxt
00000000 w D *UND* 00000000 _Jv_RegisterClasses
00000000 DF *UND* 00000075 mxslt_http_recurse_pop
00000000 DF *UND* 00000044 apr_brigade_destroy
00000000 DF *UND* 0000008f mxslt_doc_load_stylesheet
00000000 w D *UND* 00000000 __gmon_start__