Under the heading "Build java module with -ljava" you mention that there
were crashing problems because libjava.so was linked agains pthread and
apache wasn't. This is not uncommon problem for other libraries such as
oci8. You can link apache with pthread which will prevent the segfaults. See
oci8 manual page for instructions.

Edin

----- Original Message -----
From: "Tony J. White" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 05, 2002 7:35 PM
Subject: [PHP-DEV] Java Extension Build Method


>
> The /ext/java module is an odd duck compared to other php extentions in
that
> it uses DL_LOAD() to load libjava instead of being linked and that it is
> always built as a module (.so) instead of being built static into php.
>
> I've spent some time over the past couple weeks investigating why this is
> done and experimenting with different build methods.  Although, i haven't
> come up with any breakthroughs in makeing the java extension build any
> other way, I've compiled some notes on the subject:
>
> http://tjw.org/php_java/build_notes.php
>
> I think I have a pretty good handle on why things are the way they are,
but
> am I missing something?
>
> -Tony
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to