ID:               19670
 User updated by:  [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Feedback
+Status:           Open
 Bug Type:         *Configuration Issues
 Operating System: Solaris 2.8
 PHP Version:      4.2.3
 New Comment:

Yes, this is a standard install of Oracle 8. All 32 bit Libraries are
in $ORACLE_HOME/lib and 64 bit Libraries in $ORACLE_HOME/lib64

The problem is the configure script, which is not aware of compiling 64
bit - so the wrong library path is set.

The actual wayaround is to edit the configure script accordingly

vi configure
   :1,$s-OCI8_DIR\/lib-OCI8_DIR\/lib64-g
   :wq

This works - but there should be a better solution in future.


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

[2002-09-30 07:44:13] [EMAIL PROTECTED]

Is this a standard install?  My Oracle9 on Solaris 2.8 is all installed
under $ORACLE_HOME/lib



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

[2002-09-30 04:58:45] [EMAIL PROTECTED]

Configuring php with the --with-oci8 option fails when compiling in
64bit mode, because the configuration script will not find the correct
path of the Oracle 64bit libraries. 

The libraries are installed in $ORACLE_HOME/lib64. The Library Path is
resolved to $ORACLE_HOME/lib wher the 32bit libraries reside.

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


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

Reply via email to