From owner-freebsd-java Mon Oct 21 21:22:31 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E78B37B401 for ; Mon, 21 Oct 2002 21:22:29 -0700 (PDT) Received: from web40501.mail.yahoo.com (web40501.mail.yahoo.com [66.218.78.118]) by mx1.FreeBSD.org (Postfix) with SMTP id 2890743E42 for ; Mon, 21 Oct 2002 21:22:29 -0700 (PDT) (envelope-from sonam_singh_s@yahoo.com) Message-ID: <20021022042229.65844.qmail@web40501.mail.yahoo.com> Received: from [202.88.149.172] by web40501.mail.yahoo.com via HTTP; Mon, 21 Oct 2002 21:22:29 PDT Date: Mon, 21 Oct 2002 21:22:29 -0700 (PDT) From: sonam singh Subject: Re: mod_jk with apache2 and tomcat4 To: Lucien Weller , freebsd-java@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org there is some tricky thing to compile the mod_jk in freebsd with apache2 . go to the apacle/build/config_vars.mk which contains EXTRA_CPPFLAGS = -D_REENTRANT -D_THREAD_SAFE EXTRA_CFLAGS = -g -O2 -DNO_DBM_REWRITEMAP E remove this tags with EXTRA_CPPFLAGS = EXTRA_CFLAGS = -g -O2 -DNO_DBM_REWRITEMAPE now recompile the mod_jk . if u need precompile the mod_jk.so u can mail me regards Sonam Singh sonamsingh@yahoo.com --- Lucien Weller wrote: > Hello! > > I'm running Apache 2.0.43 and Tomcat 4.1.12 on a > FreeBSD 4.3.2 system. Now I > trying to integrate the two server, but I'm have > still some problems. > > I could now build the mod_jk.so from > jakarta-tomcat-connectors-4.1.12-src > using ant 1.5. > > But when U try do start Apache with the newly > compiled module (by adding > LoadModule jk_module modules/mod_jk.so in > httpd.conf) I obtain the following > complaint from Apache: > Syntax error on line 232 of > /usr/local/apache2/conf/httpd.conf: > > Cannot load /usr/local/apache2/modules/mod_jk.so > into server: > /usr/local/apache2/modules/mod_jk.so: Undefined > symbol > "pthread_mutex_unlock" > > > Can anybody help me? It would be very nice, because > I alredy spend a lot of > time in solving the problem. > > Regards > > Lucien > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message __________________________________________________ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message