Date: Sun, 27 May 2001 22:01:12 -0400 From: Lanny Baron <lnb@FreeBSDsystems.COM> To: freebsd-java@freebsd.org Subject: mod_jk won't build on FreeBSD Message-ID: <01052722011204.34260@panda.FreeBSDsystems.COM>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01052722011204.34260>
