Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 86728 invoked from network); 1 Aug 2003 11:03:18 -0000 Received: from mailgate-2.central.cranfield.ac.uk (138.250.48.81) by daedalus.apache.org with SMTP; 1 Aug 2003 11:03:18 -0000 Received: from ccexchange-2.central.cranfield.ac.uk ([138.250.50.16]) by mailgate-2.central.cranfield.ac.uk with esmtp (Exim 3.36 #4) id 19iXQS-0005GU-00 for tomcat-user@jakarta.apache.org; Fri, 01 Aug 2003 11:46:20 +0100 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Building mod_jk.so X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Date: Fri, 1 Aug 2003 11:46:20 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Building mod_jk.so Thread-Index: AcNXr40vcbo05DtFS+arIR/8CaB3xwAX97HwAAIxnxA= From: "Johnson, David" To: "Tomcat Users List" X-MailScanner: Found to be clean X-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (score=-4.5, required 5, AWL, BAYES_01) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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=3D/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