Re: Running java under php4 (PHP4 ext/java)
| From: | Alex Akilov | Date: | Fri, 19 Jan 2001 20:11:09 +0000 |
| Subject: | Re: Running java under php4 (PHP4 ext/java) | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-35713@lists.php.net to get a copy of this message | ||
Fraser MacKenzie wrote:
> If I don't actually specify the entire path to libjava.so, I get the
> following error:
>
> Fatal error: Unable to load Java Library libjava.so,
> error: libhpi.so: cannot open shared object file: No such file or
> directory in /home/rondaks_portal/httpd/docs/k2test/index.php3 on line 34
>
> So, when I actually specify the full path, and change the green_threads to
> native_threads I get the same error.
>
> This is driving me nuts.
Relax and believe! We're almost there but you mustn't lose faith.
Let's leave PHP out of things and just figure out your JDK. Did you try
ldd libjava.so with LD_LIBRARY_PATH set up as I suggested?
Also, does your native_threads directory contain libhpi.so?
Last but not least, mind telling me what JDK you're using?
Alex