[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: openbsd mod_jk.so build problem
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: openbsd mod_jk.so build problem
- From: "N. Nordman" <nino_(_at_)_nforced_(_dot_)_com>
- Date: Mon, 28 May 2001 12:37:42 +0200
- Mail-followup-to: misc_(_at_)_openbsd_(_dot_)_org
Oops...
For the archives, just a tad tired while diffing before, diff should read:
--- jk_jni_worker.c.bak Mon May 28 12:32:34 2001
+++ jk_jni_worker.c Mon May 28 12:33:16 2001
@@ -721,7 +721,7 @@
jk_log(l, JK_LOG_DEBUG,
"Into load_jvm_dll, load %s\n", p->jvm_dll_path);
- handle = dlopen(p->jvm_dll_path, RTLD_NOW | RTLD_GLOBAL);
+ handle = dlopen(p->jvm_dll_path, DL_LAZY);
if(!handle) {
jk_log(l, JK_LOG_EMERG,
/Nils
> On Sun, May 27, 2001 at 08:30:56PM +0200, N. Nordman wrote:
>
> On Sun, May 27, 2001 at 10:40:45PM +0200, Joan wrote:
>
> <snip>
>
> > ../jk/jk_jni_worker.c: In function `load_jvm_dll':
> > ../jk/jk_jni_worker.c:724: `RTLD_NOW' undeclared (first use in this
> > function)
> > ../jk/jk_jni_worker.c:724: (Each undeclared identifier is reported only once
> > ../jk/jk_jni_worker.c:724: for each function it appears in.)
> > ../jk/jk_jni_worker.c:724: `RTLD_GLOBAL' undeclared (first use in this
> > function)
>
> --- jk_jni_worker.c.new Sun May 27 20:28:44 2001
> +++ jk_jni_worker.c Tue Dec 12 23:51:55 2000
> @@ -721,7 +721,7 @@
> jk_log(l, JK_LOG_DEBUG,
> "Into load_jvm_dll, load %s\n", p->jvm_dll_path);
>
> - handle = dlopen(p->jvm_dll_path, DL_LAZY);
> + handle = dlopen(p->jvm_dll_path, RTLD_NOW | RTLD_GLOBAL);
>
> if(!handle) {
> jk_log(l, JK_LOG_EMERG,
>
>
> /Nils
Visit your host, monkey.org