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 76856 invoked from network); 12 Oct 2000 10:37:34 -0000 Received: from latimer.mail.uk.easynet.net (195.40.1.40) by locus.apache.org with SMTP; 12 Oct 2000 10:37:34 -0000 Received: from PPXMIKEBDESKTOP (unknown [212.134.198.2]) by latimer.mail.uk.easynet.net (Postfix) with SMTP id 3671E53ACA for ; Thu, 12 Oct 2000 11:37:31 +0100 (BST) From: "Mike Bremford" To: Subject: RE: Problems with mod_jk loading into apache at runtime. Date: Thu, 12 Oct 2000 11:34:37 +0100 Message-ID: <008301c03438$05f180a0$5700000a@paperx.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 In-Reply-To: <0104A6DCB4B2D2119660009027BC64510977E0@hpmail.netstatresources.com> X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hi Craig I was getting an identical error, but on Solaris. Someone else on the list managed to fix it (on Solaris) by linking with "-lposix4". If this doesn't work, I don't know what the command to list all the symbols in a library is on BSD, but you can always try the brute force approach: # cd /usr/lib # fgrep -l fdatasync `find . -name \*.so -print` And then re-run the apxs command you used to build the library with "-lxxx", where xxx are any libraries that "grep" dredged up. Run "apxs" without any arguments to see where in the command line the "-l" needs to go. Cheers... Mike > -----Original Message----- > From: Craig Anderson [mailto:craig@netstatresources.com] > Sent: 12 October 2000 05:45 > To: 'tomcat-user@jakarta.apache.org' > Subject: Problems with mod_jk loading into apache at runtime. > > > Hello, > > I am having a problem with mod_jk loading into apache > at runtime. I > have a bunch of other boxes running mod_jk with the same > configuration an I > did not have these probelms. I have a freebsd box with tomcat > and apache > installed, (apache 1.3.12 and tomcat 3.2 beta 6). I can > compile mod_jk.so > just fine but when I go to start apache I get this error... > > Syntax error on line 9 of /etc/apache/modules.conf: > Cannot load /usr/local/apache/libexec/mod_jk.so into server: > /usr/local/apache/libexec/mod_jk.so: Undefined symbol "fdatasync" > /usr/local/apache/bin/apachectl start: httpd could not be started > > line 9 is the first line in the snippet of my modules.conf file below. > > LoadModule jk_module libexec/mod_jk.so > AddModule mod_jk.c > > > JkWorkersFile /etc/apache/workers.properties > JkLogFile /usr/local/apache/logs/jk.log > JkLogLevel warn > > Craig Anderson > Netstat Resources > http://www.netstatresources.com >