Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Sep 2003 12:19:22 -0500
From:      Eugene Lee <eugene@fsck.net>
To:        freebsd-questions@FreeBSD.ORG
Cc:        lansil@fuzzynerd.com
Subject:   www/mod_jk2 port problem with www/apache2 port
Message-ID:  <20030906171922.GA24885@localhost.Earthlink.net>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030906171922.GA24885>