There was an alternative approach posted yesterday.

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






--
Raditha Dissanayake.
------------------------------------------------------------------------
http://www.radinks.com/sftp/         | http://www.raditha.com/megaupload
Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader
Graphical User Inteface. Just 150 KB | with progress bar.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to