Yang Xiao wrote:

Hi list,
I'm trying to get Apache 2.0.49/JK2/Tomcat 5.0.19 to work
I was able to get JK2 to compile and placed the mod_jk2.so and libjkjni.so
in /usr/local/apache/modules
But when I start the Tomcat server, I'm getting this error

INFO: APR not loaded, disabling jni components: java.io.IOException:
java.lang.UnsatisfiedLinkError: /usr/local/apache/modules/libjkjni.so:
/usr/local/apache/modules/libjkjni.so: undefined symbol: apr_md5_final

It is a constant problem with JK2 JNI lib. I've had it on 2.0.2 and on 2.0.4. libjkjni.so needs to be linked against all three APR libs: -lapr -laprutil -lexpat.


This is the case on Linux (Mandrake 9.1) and on Tru64 UNIX (4.0D). After modifying the Makefile, it went OK. It loads and works.

Nix.


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to