Hem, unfortunately, I tried that, which worked, but then tomcat complains
about another XML library not being linked. I'm building Apache from scratch
now... please help.

Yang

-----Original Message-----
From: Nikola Milutinovic [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 13, 2004 3:02 PM
To: Tomcat Users List
Subject: Re: JK2 JNI link bug [Was: Re: Apache2+Jk2+Tomcat5]

Yang Xiao wrote:

>Hi,
>Thanks for the help
>I went back and modified the Makefile with all 3 libraries as you have
said,
>recompiled and now I'm getting a different error:
>INFO: APR not loaded, disabling jni components: java.io.IOException:
>java.lang.UnsatisfiedLinkError: /usr/local/apache/modules/libjkjni.so:
>/usr/local/apache/lib/libaprutil-0.so.0: undefined symbol: gdbm_errno
>
>I'm not too good with C library programming, so can you help to explain
what
>this is?
>  
>

Ugh, looks like there is another link dependency. "libaprutil" wants a 
link to GDBM library. Try to locate something looking like 
"/usr/lib/lib*dbm*" and add that to Makefile, without leading "lib", 
like this "-ldbm".

Nix.

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

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

Reply via email to