By Date: <-- -->
By Thread: <-- -->

mod_jk not compiling correctly (apparently) - 'garbled' error



Hi,
   
  I can't get mod_jk to work - getting 'garbled' error suggesting it's not compiled against same version of apache?  Here's the specifics:
   
  Got fresh install of CentOS 4.3
   
  Installed Apache 2.2.2 with
  # ./configure --enable-rewrite=shared --enable-deflate=shared --enable-alias=shared --enable-cache=shared --enable-dbd=shared --enable-disk-cache=shared --enable-proxy=shared --enable-proxy-ajp=shared
  # make
  # make install
   
  Installed tomcat 5.5.17 with instructions at http://tomcat.apache.org/tomcat-5.5-doc/setup.html
   
  Installed mod_jk 1.2.18 from source including:
  # ./buildconf.sh
  # ./configure --with-apxs=/usr/local/apache2/bin/apxs
  # make
# make install 
   
  Used the auto config option (BTW tomcat created a file called 'mod_jk.conf' NOT 'mod_jk.conf-auto' and I adjusted httpd.conf include statement to match)
   
  But once I included mod_jk.conf into httpd.conf I got an error about mod_jk.so being 'garbled' and possibly not a DSO.
   
  From searching on the error and trying to read up on apxs, it appears mod_jk was not compiled against the correct version of apache.  However, I believe apxs was just newly created when I compiled apache so I'm not sure why it would be different or how to fix it.  I did notice there's another copy of apxs in the /usr/sbin.  using that in the configure command did not work, but I might have messed something else up in the meantime, so let me know if I should try that again.
   
  In case it helps, I did notice that the configure script from mod_jk referred to apache-2.0 and I'm using apache-2.2, but not sure if that's meaningful
   
  Any help suggestions would be greatly appreciated.  (head sore from pounding ;-) )
   
  -Tim

 			
---------------------------------
See the all-new, redesigned Yahoo.com.  Check it out.