Thanks anyway. I fixed it.
I eventually got it going with:
/usr/local/my-apache/bin/apxs -o mod_jk.so -DSOLARIS -I../jk
-I/usr/java/include -I/usr/java/include/solaris -lposix4 -c *.c ../jk/*.c
instead of:
apxs -DSOLARIS -I../jk -I/usr/java/include -I/usr/java/include/solaris -o
mod_jk.so -lposix4 -c *.c
I guess the -I../jk doesn't copy the object files in at linking time. Doh.
Perhaps the mod_jk HOWTO page should be changed(?) - I have seen quite a few
people with similar problems...
Kieron
-----Original Message-----
From: Kieron Wilkinson [mailto:[EMAIL PROTECTED]]
Sent: 11 April 2001 9:23 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Error whilst integrating tomcat with apache via mod_jk
Oh I forgot to say:
Solaris 8, apache 1.3.19, tomcat 3.2.1
-----Original Message-----
From: Kieron Wilkinson [mailto:[EMAIL PROTECTED]]
Sent: 10 April 2001 5:34 PM
To: '[EMAIL PROTECTED]'
Subject: Error whilst integrating tomcat with apache via mod_jk
Hi, I am trying to intergrate Tomcat with Apache, I compile mod_jk and put
the resulting mod_jk.so file in the apache/libexec dir, but when I startup
Apache I get this:
> apachectl start
Syntax error on line 8 of /usr/local/tomcat/conf/mod_jk.conf-auto:
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 map_put: referenced symbol not
found
/usr/local/apache/bin/apachectl start: httpd could not be started
Any ideas?
Thanks in advance for any help!
Kieron