Hi Dave,

thanks for your quick _and_ helpful response.

You are absolutly right, the apxs i used were from 1.3.12.

I removed all apache related binaries within /usr/bin, /usr/sbin, 
and so on and replaced them with softlinks to the new location.
Works fine.

Thanks again, you made my day ;) 

Greetings,

  Martin




> 
> Hi Martin,
> 
>         This also occurred to me (earlier today as it happens) and I sorted
> it out.  I was installing Tomcat into Apache and decided that I might as
> well update Apache to 1.3.14 also.  So I installed it in another directory
> and started adding in the module.  I got the same error that you did.
> 
> Solution: Make sure that you are using the proper apxs from the new Apache
> (ie. 1.3.14) and not the path to the previous installation (1.3.12 in my
> case).  The .so files appear to be different depending on which apxs
> version you are running.  So essentially give the full path to the new
> Apache you are installing /usr/local/apache1.3.14/bin/apxs etc. when doing
> the compile, ld and adding it in.
> 
> Hopefully this works ...
> 
> Dave Molloy
> 
> -----Original Message-----
> From: ms [mailto:ms]On Behalf Of Martin Schmidt
> Sent: 24 January 2001 06:00
> To: [EMAIL PROTECTED]
> Subject: mod_jk.so is garbled (???)
> 
> Hi,
> 
> i've got a problem with tomcat/mod_jk (3.2.1)
> and apache (1.3.14) under linux (suse 7.0):
> 
> I compiled apache and mod_jk and included
> the mod_jk.conf-auto in httpd.conf.
> 
> This is what apache states while it crashes:
> 
>   Syntax error on line 8 of /usr/lib/tomcat/conf/mod_jk.conf-auto:
>   API module structure `jk_module' in file
>   /usr/local/httpd/libexec/mod_jk.so is garbled - perhaps this is not an
>   Apache module DSO?
> 
> It's the LoadModule statement for mod_jk.
> 
> This is how i compiled/configured apache:
> 
>   ./configure --prefix=/usr/local/httpd  --enable-module=most
> --enable-shared=max)
> 
> And mod_jk compilation:
> 
> apxs -c -o mod_jk.so -I../jk -I/usr/lib/jdk1.2.2/include -I
> /usr/lib/jdk1.2.2/include/linux *.c ../jk/*.c
> 
> respectivily
> 
> apxs -o mod_jk.so -I../jk -I/usr/lib/jdk1.2.2/include -I
> /usr/lib/jdk1.2.2/include/linux -c *.c ../jk/*.c
> 
> All compilations were ok, no errors. I didn't forget
> to copy mod_jk.so to apaches libexec/
> 
> BTW: java -version:
> java version "1.2.2"
> Classic VM (build Linux_JDK_1.2.2_FCS, native threads, sunwjit)
> 
> What's wrong?
> 
> Greetings and thanks in advance,
> 
>   Martin
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to