Integrating Tomcat with Apache Via the mod_jk Module
Subject:   apxs build error (_regerror)
Date:   2002-12-19 03:35:38
From:   rakella
Hi Chad,

Your article is very good and it covers lots of features for instegrating Tomcat with Apache. I am following your article to get Tomcat and Apache talking, and I am having build problems. After setting up, I execute the script, and after compiling all the programs at the end I get the following error:

/usr/bin/ld: Undefined symbols:_dir_module
/usr/bin/ld: warning unused multiple definitions of symbol _regerror
/usr/sbin/httpd definition of _regerror
/usr/lib/libSystem.dylib(regerror.o) unused definition of _regerror
apxs:Break: Command failed with rc=1
Error with apxs

I executed the command httpd -l and I got the following output
Compiled-in modules:
suexec: disabled; invalid wrapper /usr/sbin/suexec

I am using Apache 1.3 that comes preinstalled on Mac Os X and the OS X server version is 10.4.1 .

I have installed Tomcat version 4.1.2 (as included with the JWSDP download), and I am running Apache 1.3.26 on Mac OS 10.1.4 server.

I am unsure what is causing this error.
Any advice would be greatly appreciated.

Ram Akella