Bug #13022 Updated: oracle 9i and --with-oci8

From: Date: Wed, 29 Aug 2001 13:38:49 +0000
Subject: Bug #13022 Updated: oracle 9i and --with-oci8
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-64602@lists.php.net to get a copy of this message
ID: 13022
Updated by: sniper
Reported By: jewa@force.de
Old Status: Open
Status: Closed
Old Bug Type: Oracle related
Bug Type: OCI8 related
Operating System: Solaris 2.7
PHP Version: 4.0.6
New Comment:

This is fixed in CVS. Try a snapshot: http://snaps.php.net/


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

[2001-08-29 06:11:42] jewa@force.de

export CC=/opt/SUNWspro/bin/cc
export ORACLE_HOME=/u01/app/oracle/product/9.0.1
./configure --prefix=/opt/php --with-mysql=/opt/mysql --with-oci8 --with-apxs=/opt/apache/bin/apxs
--with-config-file-path=/opt/php; make
...
checking Oracle Install-Dir... /u01/app/oracle/product/9.0.1
+--------------------------------------------------------------------+
| Notice:                                                            |
| If you encounter <defunc> processes when using a local Oracle-DB   |
| please recompile PHP and specify --enable-sigchild when configuring|
| (This problem has been reported un Linux using Oracle >= 8.1.5)    |
+--------------------------------------------------------------------+
checking Oracle version... configure: error: Oracle-OCI8 needed libraries not found
make: Fatal error: No arguments to build

But the Net8 Client side should not be changed in Oracle  9i because it still has the 8.1.7 Net
client. So I linked the library $ORACLE_HOME/lib/libclntsh.so.9.0 to
$ORACLE_HOME/lib/libclntsh.so.8.0 and compiled again

and the compilation and Oracle connection works!

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



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



Thread (2 messages)

« previous php.dev (#64602) next »