#19670 [Com]: 64bit Oracle installation fails

From: Date: Sun, 13 Oct 2002 18:54:36 +0000
Subject: #19670 [Com]: 64bit Oracle installation fails
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-22313@lists.php.net to get a copy of this message
ID: 19670 Comment by: jkroll@mke.catalystwms.com Reported By: Manfred.Metz@rsd.rohde-schwarz.com Status: Open Bug Type: OCI8 related Operating System: Solaris 2.8 PHP Version: 4.2.3 New Comment: 1. Experienced similar but slightly different issue. On Oracle 9i (9.2.0) under HP-UX 11i (11.11) the 64 bit libraries are installed in ORACLE_HOME/lib and the 32 bit libraries are in ORACLE_HOME/lib32. This results in obvious link failures when trying to build a 32 bit version of PHP. 2. There are obvious work arounds to force linkage against the correct libraries, however it would be nice if there were a config option to override the Oracle library directory. Previous Comments: ------------------------------------------------------------------------ [2002-10-01 01:02:52] Manfred.Metz@rsd.rohde-schwarz.com 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 ------------------------------------------------------------------------ [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

« previous php.bugs (#22313) next »