You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Johnson, David" <d....@Cranfield.ac.uk> on 2003/08/01 12:46:20 UTC

Building mod_jk.so

Right, I am trying to build mod_jk 1.2.4 on Solaris 9. It seems to build
okay but I get an error when apache tries to start up.

I'll detail the steps I've taken and the error I get.

1. Installed the following GNU packages: make, automake, autoconf, m4,
libtools (they came as Solaris packages, which I have simply run "pkgadd
-d" on. I haven't set an environment variables for them, not sure if I
should have done?)
2. Set TOMCAT_HOME and CATALINA_HOME to point to my tomcat directory
(which was installed from a binary)
3. Set JAVA_HOME to point to the jdk
4. Unpacked the jakarta-tomcat-connectors-jk-1.2.4-src.tar.
5. Changed into the jk/native directory
6. ./buildconf.sh (no errors)
7. ./configure --with-apxs=/software/web/apache/bin/apxs (no errors)
8. make (no errors)

This leaves me with a mod_jk.so file in the apache-1.3 directory, which
I copy into my APACHE_HOME/libexec directory.

When I try to start apache I get the following error (I've replaced the
full path with APACHE_HOME to make it easier to read):

Syntax error on line 206 of APACHE_HOME/conf/httpd.conf
Cannot load APACHE_HOME/libexec/mod_jk.so into server: ld.so.1:
APACHE_HOME/bin/httpd: fatal: libgcc_s.so.1: open failed: No such file
or directory

Can anyone offer any advice?

Many Thanks
David Johnson