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 4988 invoked from network); 12 Aug 2003 14:37:34 -0000 Received: from dsl092-231-125.phl1.dsl.speakeasy.net (HELO boobie.icky.org) (66.92.231.125) by daedalus.apache.org with SMTP; 12 Aug 2003 14:37:34 -0000 Received: from boobie.icky.org (localhost [127.0.0.1]) by boobie.icky.org (8.12.9+Sun/8.12.9) with ESMTP id h7CEZSlZ008604 for ; Tue, 12 Aug 2003 10:35:28 -0400 (EDT) Received: from localhost (eric@localhost) by boobie.icky.org (8.12.9+Sun/8.12.2/Submit) with ESMTP id h7CEZSwR008601 for ; Tue, 12 Aug 2003 10:35:28 -0400 (EDT) X-Authentication-Warning: boobie.icky.org: eric owned process doing -bs Date: Tue, 12 Aug 2003 10:35:28 -0400 (EDT) From: "Eric J. Pinnell" To: Tomcat Users List Subject: Re: mod_jk2 on Solaris 8 - "symbol apr_socket_timeout_set: referenced symbol not found" In-Reply-To: <6A07AF005942D611A81400D0B7B767E30693BF52@frodo.hud.ac.uk> Message-ID: References: <6A07AF005942D611A81400D0B7B767E30693BF52@frodo.hud.ac.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, Try to compile it with just: ./configure --with-apxs2=/path/to/apache/bin/apxs make -e On Tue, 12 Aug 2003, J.P. Wadkin C9951627 wrote: > I'm trying to get mod_jk2 to work with Apache 2.0.43 on Solaris 8. I > downloaded the mod_jk2 binary but Apache gives me this error message: > > Cannot load /usr/local/apache2/modules/mod_jk2.so into server: ld.so.1: > /usr/local/apache2/bin/httpd: fatal: relocation error: file > /usr/local/apache2/modules/mod_jk2.so: symbol apr_socket_timeout_set: > referenced symbol not found > > It's taken about 3 days to build mod_jk2 from source but I still get the > above error. I'm using GNU software including GCC 2.95 (I tried with 3.3 > but it didn't make any difference). > > Thinking it might be an APR issue I downloaded APR/APU and installed > them. Apache 2 won't build against them and nor will mod_jk2: > > ./configure --with-apxs2=/usr/local/apache2/bin/apxs > --with-tomcat40=/usr/local/tomcat41 --with-java-home=/usr/java > --with-apr-lib=/usr/local/apr/lib > --with-apr-include=/usr/local/apr/include > > The above command fails due to something missing from the include > directory. > > Next I tried using the apr source directory to build mod_jk2 (I gave up > on building Apache2 against a downloaded APR): > > ./configure --with-apxs2=/usr/local/apache2/bin/apxs > --with-tomcat40=/usr/local/tomcat41 --with-java-home=/usr/java > --with-apr=/export/home/stsejw/supgrade/aprsrc > > This time mod_jk2 compiled but I got the same "symbol > apr_socket_timeout_set: referenced symbol not found" error on starting > Apache. > > Next I tried using the lib and include directories in the Apache2 home > directory: > > ./configure --with-apxs2=/usr/local/apache2/bin/apxs > --with-tomcat40=/usr/local/tomcat41 --with-java-home=/usr/java > --with-apr-lib=/usr/local/apache2/lib > --with-apr-include=/usr/local/apache2/include > > Again mod_jk2 compiled - and again I got the same "symbol > apr_socket_timeout_set: referenced symbol not found" error on starting > Apache. > > > I've also tried setting all manner of environment variables - mod_jk2 > either doesn't compile or it complies and doesn't work. > > What next? It seems that mod_jk2 just doesn't work. > > > Thanks > > John > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > > >