#19670 [Fbk->Opn]: 64bit Oracle installation fails
| From: | Manfred dot Metz at rsd dot rohde-schwarz dot com | Date: | Tue, 01 Oct 2002 06:02:52 +0000 |
| Subject: | #19670 [Fbk->Opn]: 64bit Oracle installation fails | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-20874@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: OCI8 related
Operating System: Solaris 2.8
PHP Version: 4.2.3
New Comment:
Yes, again this is the standard installation path of Oracle 8i. For
more information about disk layout of Oracle 8i 64bit read the Product
Notes section in
'Oracle 8i Release Notes' available under:
http://download-east.oracle.com/docs/pdf/A90156_01.pdf
Previous Comments:
------------------------------------------------------------------------
[2002-09-30 10:43:37] kalowsky@php.net
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.
------------------------------------------------------------------------
[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