tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ludovic Maitre <Ludovic.Mai...@sophia.inria.fr>
Subject Re: problems configuring tomcat/apache mod_jk.so
Date Wed, 21 Feb 2001 10:16:52 GMT
Hello, you must add the -lposix4 flag on the apxs command line on Solaris
Sparc, and i thinkl that it is the same for Solaris x86

Try this l:
#!/usr/bin/gnu/bash

SERVER_ROOT=/0/admin/lmaitre/www-sop
JAVA_HOME=/usr/local/jdk1.3

${SERVER_ROOT}/bin/apxs -o mod_jk.so -DSOLARIS -I../jk -I${JAVA_HOME}/include
-I${JAVA_HOME}/include/solaris -lposix4 -c *.c ../jk/*.c

(it is from
http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/mod_jk-howto.html: "On
some systems, this will build the module correctly, but will fail at runtime
with a "symbol "fdatasync" not found". To fix, add -lposix4 just before the -c
in the above command.")

Regards,

--
 Ludovic.Maitre@sophia.inria.fr

 INRIA - 2004 route des lucioles - BP 93    Tel: (33/0) 4 92 38 50 41
 06902   SOPHIA-ANTIPOLIS cedex (France)    Fax: (33/0) 4 92 38 76 02



Mime
View raw message