ID:               15113
 Comment by:       annibale dot costantino at seceti dot it
 Reported By:      iwdm at 21cn dot com
 Status:           No Feedback
 Bug Type:         Java related
 Operating System: Redhat Linux7.2
 PHP Version:      4.1.1
 New Comment:

I resolved the problem compiling the shared library with:
gcc -shared -o libphp_java.so ./ext/java/java.o


Previous Comments:
------------------------------------------------------------------------

[2002-03-25 01:07:53] iwdm at 21cn dot com

Please test php4.0.6, that will be ok!
Maybe php4.1.x have bugs.

------------------------------------------------------------------------

[2002-03-25 00:00:04] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------

[2002-02-28 18:34:44] Mike at ftl dot com

I am having the same problem....I'm running Solaris 8, JDK1.2, Apache
1.2.23, Php 4.1.2 and gcc 2.95.2.

 No matter what I can't get it to build libphp_java.so. It always
builds libphp_java.a.

 Any help would be great.

 - Mike

------------------------------------------------------------------------

[2002-02-24 06:19:58] [EMAIL PROTECTED]

Please test with  PHP 4.1.1+JDK 1.2 and report the result back 
Please do not forget  updating PHP version. Thanks.

------------------------------------------------------------------------

[2002-01-19 05:41:03] iwdm at 21cn dot com

Hi, I want to setup a php with javabeans support.
My versions is Redhat Linux7.2+jdk1.3.1+php4.1.1
when i finished all the setup job, i found haven't the
'libphp_java.so'
file. I searched all the directories, only found a libphp_java.la and
libphp_java.a file. Who can tell me why?
my /etc/profile file relation setting is below:
PATH=$PATH:/usr/local/jdk1.3.1_02/bin:/usr/local/jdk1.3.1_02/jre/bin
PATH=$PATH:/usr/local/mysql/bin:/usr/local/etc/httpd/bin
CLASSPATH=/usr/local/jdk1.3.1_02/jre/lib/rt.jar
JAVA_HOME=/usr/local/jdk1.3.1_02

My php.ini file is at /usr/local/lib/php.ini
java.class.path =
/usr/local/etc/php4/ext/java/php_java.jar:/usr/local/jdk1.3.1_02/jre/lib
/rt.jar
java.home = /usr/local/jdk1.3.1_02
java.library = libjava.so
java.library.path =
/usr/local/jdk1.3.1_02/jre/lib/i386:/usr/local/jdk1.3.1_02/jre/lib/i386/
classic:/usr/local/jdk1.3.1_02/jre/lib/i386/native_threads
;extension_dir = /usr/local/lib/php/20010901
;extension = libphp_java.so


------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/15113

-- 
Edit this bug report at http://bugs.php.net/?id=15113&edit=1

Reply via email to