Re: [PHP4BETA] Help Please:... undefined symbol: JNI_CreateJavaVM
| From: | Jason Belich | Date: | Thu, 24 Feb 2000 13:16:33 +0000 |
| Subject: | Re: [PHP4BETA] Help Please:... undefined symbol: JNI_CreateJavaVM | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-10827@lists.php.net to get a copy of this message | ||
Hi, Sam
I put the blackdown libraries in my ld.so.conf file like so:
/usr/local/jdk1.2.2/jre/lib
/usr/local/jdk1.2.2/jre/lib/i386
/usr/local/jdk1.2.2/jre/lib/i386/classic
/usr/local/jdk1.2.2/jre/lib/i386/native_threads
should this not be sufficient? or do they need to be in the environment anyway?
Also, I was planning to use php with cocoon by calling the cocoon (and related)
java classes from within php. Are you saying I should really compile php as a
servlet anyway? Are my plans re: php and cocoon just the result of dementia?
how do you suggest I use php with cocoon?
thanks
Jason
rubys@us.ibm.com wrote:
>
> Jason Belich:
> > I'm getting this odd error when starting
> apache/php4b4pl1/jdk1.2.2(blackdown
> > rc4).
>
> Is the Blackdown library in your LD_LIBRARY_PATH?
>
> By the way, I'm planning on updating the README's for ext/java to suggest
> that most users interested in Java support would be much happier if they
> use a sapi/servlet along with the servlet engine of their choice (I use
> jakarta) on top of their favorite web server. It is easier to
> install/configure, and generally more functional and robust.
>
> - Sam Ruby