On Wed, 2003-12-31 at 19:49, Raditha Dissanayake wrote:
> There was an alternative approach posted yesterday.

I saw it. Still need to have a java sdk and a shared library.

> 
> Brian V Bonini wrote:
> 
> >Compiling PHP (CLI) with java on mdk9.1 and java.so is simply not there.
> >What am I missing?
> >
> >PHP Warning:  Unknown(): Unable to load dynamic library
> >'/usr/lib/php/extensions/java.so' - /usr/lib/php/extensions/java.so:
> >cannot open shared object file: No such file or directory in Unknown on
> >line 0
> >
> >[EMAIL PROTECTED] etc]# locate java.so
> >/usr/lib/libkjava.so.1
> >/usr/lib/libkjava.so.1.0.0
> >/usr/java/j2re1.4.2_02/lib/i386/libjava.so
> >/usr/java/j2sdk1.4.2_03/jre/lib/i386/libjava.so
> >
> >[EMAIL PROTECTED] etc]# locate libphp_java.so
> >
> >[EMAIL PROTECTED] etc]# cat /usr/src/php-4.3.4/phpconfig.txt 
> >./configure
> >--prefix=/usr
> >--libdir=/usr/lib
> >--enable-shared
> >--disable-static
> >--enable-debug
> >--with-config-file-path=/etc
> >--with-config-file-scan-dir=/etc/php
> >--with-pear=/usr/share/pear
> >--enable-magic-quotes
> >--enable-debugger
> >--enable-track-vars
> >--with-exec-dir=/usr/bin
> >--with-versioning
> >--with-mod_charset
> >--with-regex=php
> >--enable-track-vars
> >--enable-trans-sid
> >--enable-safe-mode
> >--enable-ctype
> >--enable-ftp
> >--with-gettext=/usr
> >--enable-posix
> >--enable-session
> >--enable-sysvsem
> >--enable-sysvshm
> >--with-openssl=/usr
> >--without-kerberos
> >--with-ttf
> >--with-freetype-dir=/usr
> >--with-zlib=/usr
> >--with-zlib-dir=/usr
> >--with-java=/usr/java/j2sdk1.4.2_03
> >--disable-cgi
> >
> >  
> >
-- 
Brian        GnuPG -> KeyID: 0x04A4F0DC | URL: www.gfx-design.com/keys
                                          Key Server: pgp.mit.edu
======================================================================
gpg --keyserver pgp.mit.edu --recv-keys 04A4F0DC
GnuPG: http://gnupg.org
http://www.biglumber.com/x/web?qs=0x2C35011004A4F0DC
Linux Registered User #339825 at http://counter.li.org

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to