Thanks so much!
That did the trick.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 21, 2001 2:17 AM
To: [EMAIL PROTECTED]
Subject: Re: problems configuring tomcat/apache mod_jk.so

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,

-- 
 [EMAIL PROTECTED]

 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
 

Reply via email to