Hi all.

This is what I have:

- Digital UNIX 4.0F + native DEC CC
- Apache 1.3.19 + DSO support + PHP4
- Apache 1.3.20 + DSO support
- Tomcat 3.2.3 and 3.3-b1

All of the above works OK.

Now I'm trying to add mod_jk to Apache and it crashes Apache regardless of version and 
loaded modules.

I have built mod_jk "by hand". JK_JNI requires multi-threading support, which in 
return requires libpthread.so on my OS. So I editted the Makefile and ran "gmake". 
That produced mod_jk.so, but still failed to include "-lpthread" in the command line 
of the linker. So I linked it all by hand. I have actually copied the command line 
fired by APXS and just added "-lpthread".

So:

# gmake
# ld -o mod_jk.so -expect_unresolved "*" -s -lpthread *.o

I think that was OK, it produced mod_jk.so which didn't complain on the "unresolved 
symbol __pthread_init" or some such. Unfortunately, it kills Apache. No message, no 
error log (it is created, but is empty).

Apache without mod_jk load directive works. "trace" gives "EXIT [signal 11]" which is 
SIGSEGV (segment violation).

QUESTIONS:

1. Has anyone successfully built mod_jk on Digital UNIX either 4.0D or 4.0F?
2. What is the correct way of doing it, instead of manual compilation?
3. Suppose I want to build it manually, did I make a mistake anywhere up there?
4. Any other suggestion?

TYIA,
Nix.

Reply via email to