hi All,
I have successfully installed Tomcat 4.1.29 on my RH 9 machine and the http://localhost:8080/ is working fine. I have also preinstalled J2SDK on my machine. Now my major headache is building connector module (mod_jk.so) for my Apache to communicate with Tomcat. I have tried to follow a lot of documentations step by step to build the connector but without any success.
After setting CATALINA_HOME & JAVA_HOME env variables on my machine this is a brief description of what i did set CONN_SRC_HOME = /usr/src/jakarta-tomcat-connectors-4.1.29-src.
Run the buildconf script to to create the CONN_SRC_HOME/jk/native/configure file. by issuing CONN_SRC_HOME/jk/native/buildconf.sh
Run the configure script with the path to the apxs file on your system and the options below:
./configure --with-apxs=/usr/sbin/apxs
till here everything went fine without any errors. But when i issued the make command after a long compilation procedure the make exited with error 1.
it said unable to find libapr-0.so module. I tried to google solution for this but without help.
I would really appreciate if any one can help me out of this situation. Has any one built mod_jk.so successfully on RH 9 if yes please tell me how to fix up with this problem.
regards Rakesh Pal CompTIA Linux+ Professional
____________________________________________________________ Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail! http://login.mail.lycos.com/r/referral?aid=27005
Run the buildconf script to to create the CONN_SRC_HOME/jk/native/configure file. by issuing CONN_SRC_HOME/jk/native/buildconf.sh
when i was running buildconf i got one error regarding conf file ... when i changed to the {jk-src-dir}/jk/native/ and then ran the command it worked for obvious reasons :-)
Run the configure script with the path to the apxs file on your system and the options below:
./configure --with-apxs=/usr/sbin/apxs
From this i'm making a wild guess that u r trying to compile jk for Apache
2 assuming u r running default setup of RH9. {Please be specific in giving specifications while posting ex softwares, build etc)
till here everything went fine without any errors. But when i issued the make command after a long compilation procedure the make exited with error 1. it said unable to find libapr-0.so module. I tried to google solution for this but without help.
Google gave me this when i did your homework ;-) --------------------------------------------------------------- error that you might encounter is when the native build dies with a message of:
[so] StdErr: [so] /usr/bin/ld: cannot find -lapr [so] collect2: ld returned 1 exit status
Don't panic if you see this, just go to ${apache2.home}/lib and link "libapr-0.so" to "libapr.so" before trying the build again. No, it's not elegant, is it? ---------------------------------------------------------------
I would really appreciate if any one can help me out of this situation. Has any one built mod_jk.so successfully on RH 9 if yes please tell me how to fix up with this problem.
yes, and i preferred apache 1.3.29 and tomcat 4.1.29 with mod_jk.
Regards, Ranjeet Walunj