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 RE: mod_jk2 on Solaris 8 - "symbol apr_socket_timeout_set: referenced symbol not found"
Date Tue, 12 Aug 2003 15:02:50 GMT
Thanks for the reply.

Without specifying the location of the Java JDK the configure script
generates an error. If I specify the JDK, I still get a mod_jk2 that
doesn't work. I've tried many combinations - environment variables,
software versions, etc. - but nothing works. I'm out of ideas.


John

-----Original Message-----
From: Eric J. Pinnell [mailto:eric@iCky.org] 
Sent: 12 August 2003 15:35
To: Tomcat Users List
Subject: Re: mod_jk2 on Solaris 8 - "symbol apr_socket_timeout_set:
referenced symbol not found"


Hi,

Try to compile it with just:

./configure --with-apxs2=/path/to/apache/bin/apxs
make

-e

On Tue, 12 Aug 2003, J.P. Wadkin C9951627 wrote:

> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message