tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J.P. Wadkin C9951627" <C9951...@HUD.AC.UK>
Subject mod_jk2 on Solaris 8 - "symbol apr_socket_timeout_set: referenced symbol not found"
Date Tue, 12 Aug 2003 14:17:15 GMT
I'm trying to get mod_jk2 to work with Apache 2.0.43 on Solaris 8. I
downloaded the mod_jk2 binary but Apache gives me this error message:

Cannot load /usr/local/apache2/modules/mod_jk2.so into server: ld.so.1:
/usr/local/apache2/bin/httpd: fatal: relocation error: file
/usr/local/apache2/modules/mod_jk2.so: symbol apr_socket_timeout_set:
referenced symbol not found

It's taken about 3 days to build mod_jk2 from source but I still get the
above error. I'm using GNU software including GCC 2.95 (I tried with 3.3
but it didn't make any difference).

Thinking it might be an APR issue I downloaded APR/APU and installed
them. Apache 2 won't build against them and nor will mod_jk2:

./configure --with-apxs2=/usr/local/apache2/bin/apxs
--with-tomcat40=/usr/local/tomcat41 --with-java-home=/usr/java
--with-apr-lib=/usr/local/apr/lib
--with-apr-include=/usr/local/apr/include

The above command fails due to something missing from the include
directory.

Next I tried using the apr source directory to build mod_jk2 (I gave up
on building Apache2 against a downloaded APR):

./configure --with-apxs2=/usr/local/apache2/bin/apxs
--with-tomcat40=/usr/local/tomcat41 --with-java-home=/usr/java
--with-apr=/export/home/stsejw/supgrade/aprsrc

This time mod_jk2 compiled but I got the same "symbol
apr_socket_timeout_set: referenced symbol not found" error on starting
Apache.

Next I tried using the lib and include directories in the Apache2 home
directory:

./configure --with-apxs2=/usr/local/apache2/bin/apxs
--with-tomcat40=/usr/local/tomcat41 --with-java-home=/usr/java
--with-apr-lib=/usr/local/apache2/lib
--with-apr-include=/usr/local/apache2/include

Again mod_jk2 compiled - and again I got the same "symbol
apr_socket_timeout_set: referenced symbol not found" error on starting
Apache.


I've also tried setting all manner of environment variables - mod_jk2
either doesn't compile or it complies and doesn't work.

What next? It seems that mod_jk2 just doesn't work.


Thanks

John

Mime
View raw message