You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "J.P. Wadkin C9951627" <C9...@HUD.AC.UK> on 2003/08/12 16:17:15 UTC

mod_jk2 on Solaris 8 - "symbol apr_socket_timeout_set: referenced symbol not found"

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

Re: mod_jk2 on Solaris 8 - "symbol apr_socket_timeout_set: referenced symbol not found"

Posted by "Eric J. Pinnell" <er...@iCky.org>.
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


Re: mod_jk2 on Solaris 8 - "symbol apr_socket_timeout_set: referenced symbol not found"

Posted by "Eric J. Pinnell" <er...@iCky.org>.
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
>
>
>