#19670 [Fbk->Opn]: 64bit Oracle installation fails
| From: | Manfred dot Metz at rsd dot rohde-schwarz dot com | Date: | Mon, 30 Sep 2002 14:36:00 +0000 |
| Subject: | #19670 [Fbk->Opn]: 64bit Oracle installation fails | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-20776@lists.php.net to get a copy of this message | ||
ID: 19670
User updated by: Manfred.Metz@rsd.rohde-schwarz.com
Reported By: Manfred.Metz@rsd.rohde-schwarz.com
-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] kalowsky@php.net
Is this a standard install? My Oracle9 on Solaris 2.8 is all installed
under $ORACLE_HOME/lib
------------------------------------------------------------------------
[2002-09-30 04:58:45] Manfred.Metz@rsd.rohde-schwarz.com
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