From owner-freebsd-java Sun May 27 19: 1:16 2001 Delivered-To: freebsd-java@freebsd.org Received: from panda.FreeBSDsystems.COM (panda.freebsdsystems.com [216.126.95.28]) by hub.freebsd.org (Postfix) with ESMTP id 3A32E37B423 for ; Sun, 27 May 2001 19:01:13 -0700 (PDT) (envelope-from lnb@FreeBSDsystems.COM) Received: from panda.FreeBSDsystems.COM (panda.freebsdsystems.com [216.126.95.28]) by panda.FreeBSDsystems.COM (8.11.3/8.11.3) with SMTP id f4S21CB35026 for ; Sun, 27 May 2001 22:01:12 -0400 (EDT) (envelope-from lnb@FreeBSDsystems.COM) From: Lanny Baron Date: Sun, 27 May 2001 22:01:12 -0400 X-Mailer: KMail [version 1.1.99] Content-Type: text/plain; charset="iso-8859-1" To: freebsd-java@freebsd.org Subject: mod_jk won't build on FreeBSD MIME-Version: 1.0 Message-Id: <01052722011204.34260@panda.FreeBSDsystems.COM> Content-Transfer-Encoding: 8bit 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 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-STABLE 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 in advance for any help on this issue. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message