Help,

I'm really having trouble with building and running mod_jk with
Tomcat-3.2.1 + mod_jk + Apache 1.3.19 on FreeBSD 4.3.

The components from /usr/ports:
 Apache
 JDK-1.2.2 Linux emulation

Download the binaries for Tomcat, and try it out: 
works fine standalone with the example servlets

mod_jk:
Download Tomcat src tarball and build :

Attempt #1, with Makefile.freebsd (using gmake).
(Changed APXS=/usr/local/sbin/apxs)
I get:
 Cannot load /usr/local/libexec/apache/mod_jk.so into
 server: /usr/local/libexec/apache/mod_jk.so: Undefined symbol "fdatasync"

Attempt #2, using the hint in the mod_jk how-to page:
Add -lposix before -c in the APXS command line to build mod_jk.so
mod_jk.so: ${OBJS} mod_jk.o
        $(APXS) -lposix4 -c -o mod_jk.so ${OBJS} mod_jk.o
I get:
  /usr/libexec/elf/ld: cannot find -lposix4
  apxs:Break: Command failed with rc=1
  gmake: *** [mod_jk.so] Error 1

What is -lposix4? Is it supposed to be in my FreeBSD installation?
(I can't seem to find any libary name posix4.*)


Thanks
 --Louis  <[EMAIL PROTECTED]> 

Louis Bertrand       http://www.bertrandtech.on.ca/
Bertrand Technical Services, Bowmanville, ON, Canada  
Tel: +1.905.623.1500  Fax: +1.905.623.3852

OpenBSD: Secure by default.  http://www.openbsd.org/

Reply via email to