From:             [EMAIL PROTECTED]
Operating system: Solairs 8
PHP version:      4.2.0
PHP Bug Type:     Java related
Bug description:  Unable to load libphp_java.so - core_globals not found

Configuration information:
--------------------------

* System: 
   Solaris 8
* PHP config:
./configure --prefix=/usr/local --enable-versioning --enable-libgcc
--with-apxs=/usr/local/apache/bin/apxs --with-zlib=/usr/local
--enable-bcmath --enable-debug --enable-magic-quotes --with-gdbm
--with-mcrypt --with-mhash --with-mysql
--with-ldap=/usr/local/openldap --with-pdflib --with-xml
--with-jpeg-dir=/usr/local --with-png-dir=/usr/local
--with-zlib-dir=/usr/local --with-gd --enable-xslt --with-xslt-sablot
--with-dom=/usr/local/lib --with-java

* Compiler and Java Versions: I tried several combinations

gcc 2.95.3, gcc 3.0.4
java 1.3.1, java 1.4

* Problem: unreferenced symbol in libphp_java.so

ldd -d
/usr/local/lib/php/extensions/debug-non-zts-20010901/libphp_java.so
symbol not found: core_globals
(/usr/local/lib/php/extensions/debug-non-zts-20010901/libphp_java.so)

Or seen from the apache error log (the php module loads and runs fine
otherwise)

PHP Warning: Unable to load dynamic library
'/usr/local/lib/php/extensions/debug-non-zts-20010901/libphp_java.so'
- ld.so.1: /usr/local/apache/bin/httpd: fatal: relocation error: file
/usr/local/lib/php/extensions/debug-non-zts-20010901/libphp_java.so:
symbol core_globals: referenced symbol not found in Unknown on line 0

Sorry I am not a C programmer and can't hint at a solution.
Certainly libphp_java.so is NOT looking for some other dynamic library it
can't
find ... I know that much :)


-- 
Edit bug report at http://bugs.php.net/?id=16970&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=16970&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=16970&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=16970&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=16970&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16970&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=16970&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=16970&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=16970&r=submittedtwice

Reply via email to