Hi to everybody,
I am trying to configure tomcat 4.1.24 with apache 2 using the connector
jk2-2.0.2 and I get an error message when I am making the mod_jk2.so file.
The error message is:
# make
list=' server/apache2'; \
for i in $list; do \
echo "Making $target in $i"; \
if test "$i" != "."; then \
(cd $i && make) || exit 1; \
fi; \
done;
Making in server/apache2
mkdir -p ../../../build/jk2/apache2
/usr/local/apache2/build/libtool --mode=install cp
../../../build/jk2/apache2/mod_jk2.la `pwd`/../../../build/jk2/apache2
cp ../../../build/jk2/apache2/.libs/mod_jk2.so
/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2/server/apache2/../../../
build/jk2/apache2/mod_jk2.so
chmod +x
/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2/server/apache2/../../../
build/jk2/apache2/mod_jk2.so
cp ../../../build/jk2/apache2/.libs/mod_jk2.lai
/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2/server/apache2/../../../
build/jk2/apache2/mod_jk2.la
cp ../../../build/jk2/apache2/.libs/mod_jk2.a
/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2/server/apache2/../../../
build/jk2/apache2/mod_jk2.a
cp: cannot access ../../../build/jk2/apache2/.libs/mod_jk2.a
*** Error code 2
make: Fatal error: Command failed for target
`../../../build/jk2/apache2/mod_jk2.so'
Current working directory
/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2/server/apache2
*** Error code 1
make: Fatal error: Command failed for target `jk2-build'
I also tried to use the compiled .so file from apache for solaris 8, but
when I am starting the apache I got the following error:
# apache start
httpd starting.
Syntax error on line 1019 of /etc/apache/httpd.conf:
Cannot load /usr/local/apache2/modules/mod_jk2-2.0.43.so into server:
ld.so.1: /usr/apache/bin/httpd: fatal: relocation error: file
/usr/local/apache2/modules/mod_jk2-2.0.43.so: symbol apr_pool_cleanup_null:
referenced symbol not found
/usr/apache/bin/apachectl start: httpd could not be started
Do you know the best way to configure successfully the connector for Apache
and Tomcat successfully?
Thanks in advance, I will appreciate your answers and suggestions.
Best regards.
Omar Vera