From owner-freebsd-questions@FreeBSD.ORG Tue Sep 9 11:43:49 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C5B916A4BF for ; Tue, 9 Sep 2003 11:43:49 -0700 (PDT) Received: from mail.fsck.net (user-0ceteti.cable.mindspring.com [24.238.187.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id C4DE643FF2 for ; Tue, 9 Sep 2003 11:43:47 -0700 (PDT) (envelope-from eugene@fsck.net) Received: from mail.fsck.net (localhost [127.0.0.1]) by mail.fsck.net (8.12.9/8.12.2) with ESMTP id h86HJNCn024905; Sat, 6 Sep 2003 12:19:23 -0500 (CDT) Received: (from eugene@localhost) by mail.fsck.net (8.12.9/8.12.2/Submit) id h86HJMeX024904; Sat, 6 Sep 2003 12:19:22 -0500 (CDT) X-Authentication-Warning: mail.fsck.net: eugene set sender to eugene@fsck.net using -f Date: Sat, 6 Sep 2003 12:19:22 -0500 From: Eugene Lee To: freebsd-questions@FreeBSD.ORG Message-ID: <20030906171922.GA24885@localhost.Earthlink.net> Mail-Followup-To: freebsd-questions@FreeBSD.ORG, lansil@fuzzynerd.com, dominic.marks@btinternet.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i cc: dominic.marks@btinternet.com cc: lansil@fuzzynerd.com Subject: www/mod_jk2 port problem with www/apache2 port X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Sep 2003 18:43:49 -0000 FreeBSD-RELEASE-4.8-p3 I've run into a problem with the ports versions of mod_jk2 and apache2. Now apache2 is built without thread support disabled, but mod_jk2 is built to use pthreads. Both run through make and make install cleanly without any problems. But when I try to start up Apache, I get the obvious error: Cannot load /usr/local/libexec/apache2/mod_jk.so into server: /usr/local/libexec/apache2/mod_jk.so: Undefined symbol "pthread_mutex_unlock" The official mod_jk2 docs says nothing about building the module without thread support. The apache2 docs confirm that: * If you are building on FreeBSD, be aware that threads will be disabled and the prefork MPM will be used by default, as threads do not work well with Apache on FreeBSD. If you wish to try a threaded Apache on FreeBSD anyway, use "./configure --enable-threads". So is it even possible to compile mod_jk2 without threads? Or should I just bite the bullet and build apache2 with threads enabled on the box? Any suggestions are appreciated, thanks! (CC'd to both ports' maintainers) -- Eugene Lee eugene at fsck dot net