ID:               31617
 Updated by:       [EMAIL PROTECTED]
 Reported By:      guym at arizona dot edu
-Status:           Open
+Status:           Feedback
 Bug Type:         Reproducible crash
 Operating System: Solaris 9
 PHP Version:      4.3.10
 New Comment:

Can you do "ldd" on the libphp4.so generated and see what libs is it
using?


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

[2005-01-20 18:37:44] guym at arizona dot edu

Yes, everything Oracle related works fine by itself on the system. 

I think the problem is that it is using the OpenLDAP library instead of
Oracle's, despite being compiled against Oracle LDAP. The
LD_LIBRARY_PATH is set in Apache's envvars (and in the shell when
starting apache).

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

[2005-01-19 23:03:31] [EMAIL PROTECTED]

Does cli work?


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

[2005-01-19 22:26:58] guym at arizona dot edu

Description:
------------
Compiling oci8 into the php LoadableModule causes each apache child to
segfault immediately. Here is the gdb output:

#0  0xfd7007b8 in gslufpFLog () from
/home/oracle/product/9.2.0/lib32/libclntsh.so.9.0
#1  0xfd6efb30 in ldap_init () from
/home/oracle/product/9.2.0/lib32/libclntsh.so.9.0
#2  0xfe9a20ac in openConnection () from /usr/lib/libsldap.so.1

It seems it is not using Oracle's LDAP, even though that was specified
during configuration. Here is my configure command:

./configure --prefix=/opt/httpd/php
--with-apxs2=/opt/httpd/apache/bin/apxs
--with-config-file-path=/opt/httpd/apache/conf --enable-safe-mode
--with-dom-xslt --with-ldap=$ORACLE_HOME --with-oci8
--with-pgsql=/opt/httpd/postgres --with-dom --with-zlib-dir
--with-openssl-dir



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


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

Reply via email to