#19670 [Opn->Fbk]: 64bit Oracle installation fails
| From: | kalowsky@php.net | Date: | Mon, 30 Sep 2002 15:43:38 +0000 |
| Subject: | #19670 [Opn->Fbk]: 64bit Oracle installation fails | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-20782@lists.php.net to get a copy of this message | ||
ID: 19670
Updated by: kalowsky@php.net
Reported By: Manfred.Metz@rsd.rohde-schwarz.com
-Status: Open
+Status: Feedback
Bug Type: *Configuration Issues
Operating System: Solaris 2.8
PHP Version: 4.2.3
New Comment:
I understand what your claiming the bug is, thats not the issue. What
I'm questioning is the validity of the bug, in the sense that my local
64bit Oracle install doesn't use the lib64 notation, but still uses the
lib. Which may mean that my install is borked, but thus my asking.
Previous Comments:
------------------------------------------------------------------------
[2002-09-30 09:36:00] Manfred.Metz@rsd.rohde-schwarz.com
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.
------------------------------------------------------------------------
[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