Thank your response, Russell. I appreciate that!
Khim
----- Original Message -----
From: Russell Hammer <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 20, 2001 8:11 PM
Subject: Re: Pls Help
> Hi,
>
> My quick and dirty script for solaris is below:
> Please READ AND MODIFY prior to running!
>
> -R
>
> On Fri, Apr 20, 2001 at 05:28:07PM +0800, Tan Khim Siang wrote:
> > Hi all, how are you people doing? I am using mod_jk instead of
mod_jserv. When I try to start apache using this command:
> > apachectl startssl
> >
> > I have the following error:
> >
> > Syntax error on line 210 of /usr/local/apache/conf/httpd.conf:
> > Cannot load /usr/local/apache/libexec/mod_jk.so into server: ld.so.1:
/usr/local/apache/bin/httpd: fatal: relocation error: file
/usr/local/apache/libexec/mod_jk.so: symbol fdatasync: referenced symbol not
found
> >
> >
> > Does anybody know whats going on here?
> >
> > I am on Solaris 7
> >
> >
> > Thank you for your time.
> >
> >
> > Khim
>
> #!/bin/ksh
> MODJKSRCDIR=/usr/local/src/jakarta-tomcat-3.2.1-src/src/native/apache1.3
> APACHE_HOME=/usr/local/apache
> APXS=${APACHE_HOME}/bin/apxs
> TC_HOME=/usr/local/tomcat
> JAVA_HOME=/usr/java
>
> cd ${MODJKSRCDIR}
> ${APXS} -o
mod_jk.so -DSOLARIS -I../jk -I${JAVA_HOME}/include -I${JAVA_HOME}/include/so
laris -lposix4 -c *.c ../jk/*.c
>
> cp mod_jk.so ${APACHE_HOME}/libexec
>
> print "Include ${TC_HOME}/conf/mod_jk.conf-auto" >>
${APACHE_HOME}/conf/httpd.conf
>
> sh /etc/init.d/apachectl configtest && sh /etc/init.d/apachectl restart
>
>