Hi all,
as you know from my posting Fri, 31 Jan 2003 00:05:05 +0100 (CET), I am
setting up Tomcat 4.1.18 & Apache 2.0.44 on my FreeBSD 4.7 server.

I build Apache with from source with:
./configure --prefix=/usr/local/apache2 --enable-auth-dbm --enable-auth-digest 
--enable-file-cache --enable-cache --enable-disk-cache --enable-logio 
--enable-mime-magic --enable-cern-meta --enable-expires --enable-headers 
--enable-usertrack --enable-unique-id --enable-ssl --enable-http --enable-dav 
--enable-info --enable-suexec --enable-cgi --enable-cgid --enable-dav-fs 
--enable-vhost-alias --enable-speling --enable-rewrite --enable-so --with-perl

make -DWITH_THREADS
make -DWITH_THREADS install

I've installed a binary Tomcat 4.1.18, so I go on to jk 1.2.2. This is
build.properties:

# Directory where catalina is installed. It can
# be either 4.0 or 4.1
#tomcat40.home=/usr/local/tomcat
tomcat41.home=/usr/local/tomcat

# Location of Apache2, Apache1.3, Netscape, IIS
apache2.home=/usr/local/apache2
apr.home=${apache2.home}
apr.include=${apr.home}/include
apr-util.include=${apr.home}/include
apr.lib=${apr.home}/lib
apr-util.lib=${apr.home}/lib
apache2.lib=${apache2.home}/lib

# Compile-time options for native code
so.debug=true
so.optimize=false
so.profile=false

and this is my build statements:
./configure --with-apxs=/usr/local/apache2/bin/apxs
make -DWITH_THREADS

This gives me a build and then this error:
/usr/local/bin/bash /usr/local/apache2/build/libtool --silent
--mode=install cp  `pwd`/mod_jk.so
libtool: install: you must specify a destination
Try `libtool --help --mode=install' for more information.
*** Error code 1

But hey, in apache-2.0/.libs I find mod_jk.so. So I copy it to
/usr/local/apache2/modules and fire up Apache:

su-2.05b# /usr/local/apache2/bin/apachectl start
Syntax error on line 2 of /usr/local/apache2/conf/mod_jk.conf:
Cannot load /usr/local/apache2/modules/mod_jk.so into server:
/usr/local/apache2/modules/mod_jk.so: Undefined symbol
"pthread_mutex_unlock"


Why on earth do I keep getting this? I have taken your advice on adding
-DWITH_THREADS, I have even replaced all -lpthread for -lthread which was
an other recommendation. What is going wrong? (except for libtool not
behaving nicely)

Cheers

   Nik

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to