Sorry for the long delay in responding,

I configured the java.library.path as you indicated, but still get an error
reading:

Fatal error: Unable to load Java Library libjava.so, error: ÿ¿®@TZif: cannot
open shared object file: No such file or directory in
/home/stanton/apache/live2/htdocs/jver.php on line 4

Is it still a path problem?

-stanton
-- 

Stanton Schell
livsform design group
[EMAIL PROTECTED]
703-538-3491
703-989-6591

> From: Alex Akilov <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> 
>> 3. Just fyi, I am using Sun's JDK 1.3
>> 
> That's useful to know.  Thanks.
> 
>> 4. When I make the change, I do get an error indicating a needed library
>> path change.  However, I am not sure about the syntax for adding an
>> additional path to that value in php.ini - is it the same as setting
>> environment variables, with a ":"  separating each path?
>> 
> Right.  If the entry is a path specification, just separate the
> directory entries with a ":".
> 
>> 5. The response from  ldd libjava.so was:
>>         libjvm.so => not found
>>         libverify.so => not found
>>         libnsl.so.1 => /lib/libnsl.so.1 (0x40033000)
>>         libdl.so.2 => /lib/dl.so.2 (0x4004a000)
>>         libc.so.6 => /lib/libc.so.6 (0x4004e000)
>>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
>> 
>> 6. Finally, that first shared object is in both the classic and
>> hotspot
>> surdirs (albeit they are different files), so do I add the hotspot
>> subdir to
>> the java.library.path value in php.ini as well?
> 
> Your java.library.path specification should be something like:
> java.library.path=/home/stanton/apache/php-4.0.4pl1/modules:/usr/java/jdk1.3/j
> re/lib/i386:/usr/java/jdk1.3/jre/lib/i386/hotspot:/usr/java/jdk1.3/jre/lib/i38
> 6/native_threads
> 
> That is, if you're running on an i86 platform.
> 
> Alex
> 


--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to